Page 1 of 1


Posted: Tue Dec 04, 2018 12:09 am
by ResponseTechDev
Recently downloaded the PDFX7-API software. After making modifications to our software to use this demo version, all appears to work as expected. However while using Visual Studio 2008 to debug, the trace window displays the following multiple times:

Warning: constructing COleException, scode = DISP_E_MEMBERNOTFOUND ($80020003).
First-chance exception at 0x74ce845d in inwin.exe: Microsoft C++ exception: COleException at memory location 0x0012de54..

It seems that not there is not a single line of code which produces this exception warning. Keep in mind that the source module (C++) that produces these warnings is also used in another EXE yet that EXE does NOT produce any exception warnings! So I need clarification to determine if is this is acceptable warning or is something specific within our to trigger this message.


Posted: Tue Dec 04, 2018 7:18 pm
by ResponseTechDev
Problems solved. Seems that when a call to PXC::IPXCControlEx,&_GUID_8a35cb94_6ff4_431f_a1d0_8f3650392347> >::_AddRef() is made a WM_DEVICECHANGE message is sent. A child window derived from the MFC COleControlSite class receives this message and makes a call to GetStyle(). This call is what produces the COleException, scode = DISP_E_MEMBERNOTFOUND debug message. So the warning is benign and can be ignored for the WM_DEVICECHANGE has no meaning for the child window.


Posted: Tue Dec 04, 2018 7:33 pm
by ResponseTechDev
Correction to previous reply. Was a WM_DEVMODECHANGE message and not a WM_DEVICECHANGE.


Posted: Thu Dec 06, 2018 1:24 pm
by Tracker Supp-Stefan
Hello ResponseTechDev,

Glad to hear you solved the problem yourself!
And thanks for the follow up clarification!