Re: EuCOM - Passing an object to another object
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Apr 04, 2006
- 538 views
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