Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fatal Error C0000005 - What's the cause?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00215776
Message ID:
00215911
Vues:
33
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform