|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Jim Harshaw (jharshaw_at_USEIPI.COM)
Date: Fri Jan 10 2003 - 08:58:49 CST
Perhaps the easiest way is to #import the tlb to get wrappers generated for you.
eg.
#import "vbcom.dll" no_namespace named_guids
...
VbObjPtr p( CLSID_VBOBJ );
> -----Original Message-----
> From: Distributed COM-Based Code [mailto:DCOM
DISCUSS.MICROSOFT.COM]On
> Behalf Of Steve Johnson
> Sent: Friday, January 10, 2003 9:49 AM
> To: DCOM
DISCUSS.MICROSOFT.COM
> Subject: Re: DCOM Call Information
>
>
> > Anybody knows how to call VB COM Component in VC++, thanks for your help in
> > advance...
>
> You would call a VB COM component in VC++ the same way you would call
> any COM component in VC++. Use CoCreateInstance and call away. Or,
> you may need to call CLSIDFromProgID first if all you have is the ProgID.
>
>
> --
> Steve Johnson
> 3t Systems
>
> ----------------------------------------------------------------
> Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
> contains important info. Save time, search the archives at
> http://discuss.microsoft.com/archives/index.html .
> To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]