Click to See Complete Forum and Search --> : Passing Objects as arguments to a Method in an ActiveX control


Richard Patrick
May 10th, 1999, 08:36 AM
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

cflanman
May 10th, 1999, 01:16 PM
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)