ATL Exe server..
-
Hi, I just creted the Exe component and one obect using ATL Wizard, and try to call that obects which gives just message box. But I am getting the error "No such interface supported", could any body give the resolution for this. Calling code : ITempObj *pIExeObj = NULL; hr = CoCreateInstance(CLSID_TempObj, NULL, CLSCTX_LOCAL_SERVER, IID_ITempObj,(void**)&pIExeObj); Thanks & Regards, Siva
-
Hi, I just creted the Exe component and one obect using ATL Wizard, and try to call that obects which gives just message box. But I am getting the error "No such interface supported", could any body give the resolution for this. Calling code : ITempObj *pIExeObj = NULL; hr = CoCreateInstance(CLSID_TempObj, NULL, CLSCTX_LOCAL_SERVER, IID_ITempObj,(void**)&pIExeObj); Thanks & Regards, Siva
what's the exact error and where??? may be CLSID_TempObj --> CLSID_ITempObj cheers vibhash
-
Hi, I just creted the Exe component and one obect using ATL Wizard, and try to call that obects which gives just message box. But I am getting the error "No such interface supported", could any body give the resolution for this. Calling code : ITempObj *pIExeObj = NULL; hr = CoCreateInstance(CLSID_TempObj, NULL, CLSCTX_LOCAL_SERVER, IID_ITempObj,(void**)&pIExeObj); Thanks & Regards, Siva
Hi, Did you make your interface visible to the client? Did you register the server? You may need a proxy-stub DLL, that is present on server side (but must be built and registered manually), and must be copied (the DLL only) and registered also on client side. Try it and make me know. Regards, Morenz.