|
-
May 5th, 1999, 08:23 PM
#3
Re: Using Class Wrappers for COM DLL
do you check the HRESULT hr = CoCreateInstance(CLSID_mySystem,NULL,CLSCTX_INPROC_SERVER |
CLSCTX_LOCAL_SERVER,IID_IADSystem,(void**)&pIMyObj)successfully?
Do you pass the correct parameters to that method?
pIMyObj->Connect( vObject );
In fact , sometime needn't export the type library, just include .h and define the interface,
you can get method through the direct way(
no use IDispath), most interface in system
are dual interface.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|