DISP_E_MEMBERNOTFOUND warning

PDF-XChange Drivers API (only) V4/V5
This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - VERSION 4 & 5 - Please use the PDF-Tools SDK Forum for Library DLL assistance.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

Post Reply
ResponseTechDev
User
Posts: 7
Joined: Tue Dec 04, 2018 12:00 am

DISP_E_MEMBERNOTFOUND warning

Post 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.
ResponseTechDev
User
Posts: 7
Joined: Tue Dec 04, 2018 12:00 am

Re: DISP_E_MEMBERNOTFOUND warning

Post 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.
ResponseTechDev
User
Posts: 7
Joined: Tue Dec 04, 2018 12:00 am

Re: DISP_E_MEMBERNOTFOUND warning

Post by ResponseTechDev »

Correction to previous reply. Was a WM_DEVMODECHANGE message and not a WM_DEVICECHANGE.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17765
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: DISP_E_MEMBERNOTFOUND warning

Post by Tracker Supp-Stefan »

Hello ResponseTechDev,

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

Cheers,
Stefan
Post Reply