Passing Objects as arguments to a Method in an ActiveX control
Hi
I want to Pass Objects as arguments to a Method in an ActiveX control, I have no idea how to do it, If u have please let me know.
Regards
Richard Patrick
Re: Passing Objects as arguments to a Method in an ActiveX control
Here's a reply to my question, which looks a lot like yours (if I read yours correctly):
Since ObjectA's interface will be derived from IUnKnown, u could as well have the following function in ObjectB
ObjectB::DoThis(IUnknown* pIU)
this way the function DoThis can make calls provided by the interface of ObjectA.
(of course if it is in C++, u have to include
the header of the required interface of ObjectA)