Re: EuCOM - Passing an object to another object

new topic     » goto parent     » topic index » view thread      » older message » newer message

Jonas Temple wrote:
> 
> Matt (or whoever),
> 
> I have a COM object (let's say object A) where I need to pass COM object B to
> COM object A as a parameter for a DISPATCH_METHOD.  
> 
> What is the parm type for this?  Should I be using get_obj_from_this()?
> 
> 

You should probably use get_obj_this().  When you pass a EuCOM handle, it
will return the actual pointer to the object.  get_obj_from_this() goes
the other way.  The parameter type should be either VT_DISPATCH or 
VT_UNKNOWN.

Matt Lewis

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu