Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C0000005 for Form.Show, but not if Assert fires
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
C0000005 for Form.Show, but not if Assert fires
Miscellaneous
Thread ID:
00908518
Message ID:
00908518
Views:
49
I am using VFP7 SP1 have narrowed down a C0000005 error to a line of code:
loNewObj.Show
where loNewObj is a new form.

So, I put an assert in to try and trace the problem (with SET ASSERTS ON), and the assert *seemed* to not fire, but the .Show code now works. I opened the debug output window and tried again.

The "Assertion failed on line ..." displays (confirming the Assert fired) but the assert window still does not show. It's almost like the assert window absorbs the error instead of the form, and does not display, but also does not generate the C0000005. If I take out the Assert, it fails again.

The problem is consistent (occurs on Win2K workstation, and on Win2K3 Server). Anyone got any ideas how to resolve a possible window refresh issue like this?

P.S. This is the fourth modal form popping up in a chain of drill-down forms.
Scott McDaniel
MCP VFP Desktop
Next
Reply
Map
View

Click here to load this message in the networking platform