
accessing objects in a c++ DLL from a c++ activeX control placed in a VB application
Who passes what to whom is not very clear in your post, but in general you
can pass anything to VB that is a COM object derived from IDispatch. C++
classes you cannot pass.
. . . . . . . . . . . . . . . . . . . . . .
Klaus H. Probst, MVP
http://www.vbbox.com/
Please post/reply to the newsgroup(s)
Quote:
> i have VB application that has a c++ activeX control and accesses a c++
DLL
> both of
> which make use of the same userdefined class. can i pass the address of
> this
> object from the dll to the VB application which in turn passes it to the
> activeX control? and can the control then access the members/data and
> functions of that object (which is in the DLL's memory) ??
> any help wud be appreciated,
> thanks,
> Julian.