Guest_imported
New member
- Jan 1, 1970
- 0
I am trying to schedule an app using the MS-COM objs......
I am not able to use CoCreateInstance()successfully. Here's my code:
HRESULT hres1, hres2;
hres1 = CoInitialize(NULL);
hres2 = CoCreateInstance( &rclsid, NULL, CLSCTX_INPROC_SERVER, &IID_ITaskScheduler,(void **)&ppv );
I checked the values for hres's .... the error is in the second one ..... i.e. CoCreateInstance ..... any ideas ....
I am not able to use CoCreateInstance()successfully. Here's my code:
HRESULT hres1, hres2;
hres1 = CoInitialize(NULL);
hres2 = CoCreateInstance( &rclsid, NULL, CLSCTX_INPROC_SERVER, &IID_ITaskScheduler,(void **)&ppv );
I checked the values for hres's .... the error is in the second one ..... i.e. CoCreateInstance ..... any ideas ....