I have a problem - I think - that's driving me crazy. I have a smart pointer declared as follows:
I create the COM object within my InitDialog procedure:Code:#import "C55 Library.dll" no_namespace IDecodeC55Ptr pDecodeC55;
When I use the debugger to step through this, I get an error message twice: "First chance exception in junk.exe (NTDLL.DLL): 0xC0000005: Access Violation"Code:HRESULT hr = pDecodeC55.CreateInstance( __uuidof( DecodeC55 ) );
The thing is that CreateInstance then returns S_OK, and the library does get loaded.
Can anybody shed some light on what's going on here? And whether or not I should be worried?




Reply With Quote