General information
Category:
Coding, syntax & commands
Title:
Programming a C0000005 Error ON PURPOSE?
I have often situations where error handlers go into endless loops, such as Can't Release Object, Do you want to Continue Yes/NO, xxx is not an object, Can't release Object, Do you want to Continue Yes/NO etc. etc.
I figure in situations like these it would be good to give the user another option, CANCEL and it would just execute some code that will bail out FOR SURE. I tried QUIT and CLEAR ALL, QUIT etc. or releasing the main application object, but they just continue with endless error loops.
What would be a simple code THAT GENERATES A C0000005 GPF FOR SURE? Then I could give the user the option to run that code and the program will exit for sure?
Hm, it's funny, when I NEED the C00000005 error, it isn't there - smirk!
hs.
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