Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C0000005 coming from Unbindevents

Status
Not open for further replies.

AlastairP

Technical User
Feb 8, 2011
286
0
16
AU
I have been experiencing occasional c5 errors.
The VFP9Rerr.log keeps referring to BindWindowsEventsProxy.Destroy line 4, which is "Unbindevents(_vfp.HWnd, WM_THEMECHANGED)"

Code:
#Define WM_THEMECHANGED        0x031A

If Type("This.Parent") # "O" Then
   Unbindevents(_vfp.HWnd, WM_THEMECHANGED)
Endif


Sometimes when I get the c5 errors, there are additional lines in the VFP9Rerr.log prior to the BindWindowsEventsProxy.Destroy line 4, that refer to the "propershutdown" function in the main.prg.
These line numbers are in every case calling _vfp.startmode

Code:
IF _VFP.STARTMODE = 0 <- Line number referenced in error log
[indent]...[/indent]
ENDIF

This class BindWindowsEventsProxy is in vfpx.vcx which appears to be part of the ctrl32 library
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top