Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Handling in VFP 5.0a
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00080468
Message ID:
00113183
Vues:
30
>Robert,
>
>When the error occurs in the method code of an object, it's error method fires off, so the object still has "code on the call stack". An object can't be released if it has code executing because that would invalidate the call stack and crash most miserably.
<<...Snip>>
Hi David,
I have written a DLL that allows me to cause a ProgrammaticChange event to fire when VFP returns to a wait state. Wouldn't this allow the error routine to create an error object, push it onto an error stack, and have the ProgrammaticChange code process it after control has returned from the error method? It would seem that cleanup would become much easier. Please let me know what you think of the idea.
Thanks,
Ned
Ned

Reality is.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform