Hi Joe,
basically, your right. But the "base"-interface you want to use is IDispatch
instead of IUnknown.
You should also look at the #import-statement that is espacially suitable
for
ActiveX-Components. It produces wrapper - classes and uses smart pointers
to "simulate" VB coding style in VC. (Althought that does not free you from
knowing what you are doing when it comes to COM - it just makes things
easier)
--
Markus Geiger
#define THE_QUESTION ((bb) || (!bb)) -- W. Shakespeare
Quote:
> How can I ( if I can ) make calls to a Visual Basic ActiveX DLL from
> C++. Do I treat it as a COM object and get a reference to it though
> IUNKNOWN?
> I would be grateful for any help.
> Thanks,
> Joe
> Sent via Deja.com http://www.deja.com/
> Before you buy.