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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only