IErrorInfo object is getting cleared in the client process before the client thread retrieves it.

IErrorInfo is an OLE DB interface. It is defined in automation and returns the error message, component name and GUID of the interface where the error occurred. The link http://msdn.microsoft.com/en-us/library/windows/desktop/ms723041(v=vs.85).aspx describes its use, when to call and the methods on this interface. You might sometimes face an issue where an IErrorInfo object gets cleared on a…

0

COM: Cannot register a COM DLL using ATL::CComModule::RegisterServer()

Issue: Cannot register a COM DLL using ATL::CComModule::RegisterServer() If you are using a COM DLL or building one that uses ATL’s CComModule::RegisterServer() and building the code in Visual Studio 2013, you are mostly failing to register it. Say if you are using RegSvr32.exe to register your DLL, the call stack might show you the following…

0