Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Handling in VFP 5.0a
Message
From
30/06/1998 18:45:02
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00080468
Message ID:
00113183
Views:
29
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform