IDispatch: Can I add a parameter to IDispatch GetIDsOfNames and In

  • Thread starter Babar Iftikhar Malik
  • Start date
B

Babar Iftikhar Malik

Hi,

I want to make a call to IDispatch GetIDsofNames and IDispatch Invoke from
one COM exe to another COM exe (in which the implementaion of these two
methods is being done). The second COM exe is an automation wrapper. In doing
so I want to pass an argument (BSTR) to IDispatch GetIDsOfNames and Invoke
from the caller exe so that i can preserve my thread pool design. e.g I need
to do the following

STDMETHOD (GetIDsOfNames)(REFIID riid, LPOLESTR* rgszNames, UINT cNames,LCID
lcid,DISPID* rgdispid, BSTR sessionID );

STDMETHOD ( Invoke )( DISPID dispidMember, REFIID riid, LCID lcid, WORD
wFlags, DISPPARAMS* pDispparams, VARIANT* pVarResult, EXCEPINFO* pExcepinfo,
UINT* puArgErr, BSTR sessionID);

Can some body tell me the exact signature to be used in my IDL for GetIDsOf
Name and Invoke.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top