Registry Settings For CoCreateInstanceAsAdmin
-
what are the valid registry setting for calling CoCreateInstanceAsAdmin()?
Regards, Vishal
Did you consult MSDN-CoCreateInstanceAsAdmin[^]
You talk about Being HUMAN. I have it in my name AnsHUMAN
-
Did you consult MSDN-CoCreateInstanceAsAdmin[^]
You talk about Being HUMAN. I have it in my name AnsHUMAN
-
consulted but still no success. when using CLSCTX_INPROC_SERVER CoCreateInstance() returns S_OK but when using CLSCTX_LOCAL_SERVER CoCreateInstance() Fails.
Regards, Vishal
-
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 sorry for posting twice.
Regards, Vishal
-
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 sorry for posting twice.
Regards, Vishal