I need help regarding the error 0x80004015
I built an ATL service with a component.
The interface exposed has a test method.
I registered the proxy stub dll.
When I debug my ATL service, in the Run() method ,
The first call to CoInitialize() and the next call to CoInitializeSEcurity(...) succeed. After that,
I get the hr value= 0x80004015 when I call the RegisterClassObjects.
hr = _Module.RegisterClassObjects(CLSCTX_LOCAL_SERVER | CLSCTX_REMOTE_SERVER, REGCLS_MULTIPLEUSE);
I tried on windows NT 4.0 and also windows 2000. The same error is encountered.
What can be the reason. How do I avoid this.
I need help