Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fatal Error C0000005 - What's the cause?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00215776
Message ID:
00215911
Views:
32
We have encountered this error most often when we leave a dangling
object reference. An example would be if somewhere in your form
you execute code similar to this:

oNewObject = CREATEOBJECT()
oNewObject.CallingProgram = Thisform
ThisForm.NewObject = oNewObject

Now each of the objects has a pointer to the other and when you
release the form occasionally an exception is created. We solved
this by making sure that we set all pointers to null and the
call the release methods of the objects.

>I've got a form that gets called, runs fine, and then when I issue a ThisForm.Release() on the click event of the exit button, Boom!
>
>Tried it compiled in VFP 5, which returns "Invalid Page Fault in Kernel.vxd". VFP 6 returns Fatal Error: Exception Code = C0000005.
>
>Any clues would be most appreciated.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform