HRESULT hr = CoCreateInstance(CLSID_CExample,NULL,CLSCTX_LOCAL_SERVER,IID_CExample,(void**)&inf); hr value is E_NOINTERFACE No Such Interface Supported. But if CLSCTX_INPROC_SERVER is used then the value of hr is S_OK
Regards, Vishal
modified on Friday, April 8, 2011 1:04 PM