markftwain
Technical User
- Jul 12, 2006
- 108
Hi experts,
In the click() method of a button, I essentially have:
with this.parent
if vartype(.ox)=[O]
try
do form editor.scx with .ox
catch to oerr
..............
endtry
endif
endwith
This code works well 15 to 20 times before Windows reports the fatal error C0000005 with "Microsoft visual foxpro has stopped running." If the program is cancelled and re-started, the program again works fine for another 15 to 20 times. The only information I can get is that "do form editor.scx with .ox" is causing the error. The error always occurs on exiting the editor form. The editor form is modal without anything in the unload or destroy events. "ox" is being saved and used in an editor property at initialization. "Try..Catch..Endtry" is never executed, so I can't get any futher information.
Very fustrating, ideas?
Thank you for your consideration.
In the click() method of a button, I essentially have:
with this.parent
if vartype(.ox)=[O]
try
do form editor.scx with .ox
catch to oerr
..............
endtry
endif
endwith
This code works well 15 to 20 times before Windows reports the fatal error C0000005 with "Microsoft visual foxpro has stopped running." If the program is cancelled and re-started, the program again works fine for another 15 to 20 times. The only information I can get is that "do form editor.scx with .ox" is causing the error. The error always occurs on exiting the editor form. The editor form is modal without anything in the unload or destroy events. "ox" is being saved and used in an editor property at initialization. "Try..Catch..Endtry" is never executed, so I can't get any futher information.
Very fustrating, ideas?
Thank you for your consideration.