Page 1 of 1

First-chance exceptions (screensaver)

Posted: Tue Jun 20, 2006 6:23 am
by 9524367
Hello,

When my application is running (MFC dlg-based), and the screensaver is actived (during period of inactivity), the output debug window displays following messages:

Warning: constructing COleException, scode = DISP_E_MEMBERNOTFOUND ($80020003).
First-chance exception at 0x7c81eb33 in myApp.exe: Microsoft C++ exception: COleException @ 0x0012d18c.
Warning: constructing COleException, scode = DISP_E_MEMBERNOTFOUND ($80020003).
First-chance exception at 0x7c81eb33 in myApp.exe: Microsoft C++ exception: COleException @ 0x0012d18c.
Warning: constructing COleException, scode = DISP_E_MEMBERNOTFOUND ($80020003).
First-chance exception at 0x7c81eb33 in myApp.exe: Microsoft C++ exception: COleException @ 0x0012d18c.

Don't know if it means anything, maybe I can just ignore it ?

Posted: Tue Jun 20, 2006 9:13 am
by narcis
Hello Ronald,

It seems that tyis error message is harmless. However, this could be happening because the window text or caption property is attempting to be set when your object has none. Therefore the dispmember is not found. If you add a caption property even if it is not displayed this will go away.

As said here, it could be that the requested member does not exist, or the call to Invoke tried to set the value of a read-only property.

If the above doesn't help you solve this issue you may want to look at other MSDN entries for this error message.