CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    17

    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

  2. #2
    Join Date
    May 1999
    Posts
    6

    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:oThis(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)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured