Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 forms won't release in VFP7
Message
From
10/10/2001 22:29:48
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00563981
Message ID:
00566758
Views:
9
>>My forms, which used to release just fine in VFP6 no longer do so. I can't tell where it's happening at this stage. It's as if there's a new unreleased object bound to the form that I don't know about (but my base class code is unchanged).
>>I you click on the forms close box the close button becomes disabled, whereas in VFP6 the release/queryunload etc would fire and shutdown the form.
>>Also if I programmatically release the form, that fails too, with out error. If I then shutdown the app I get a C000..05 error on doing a "clear all".
>>
>>Sure, I have lots of code in my base classes for queryunload, release, destroy etc but no idea where to look yet.
>>
>>Anybody found anything similar?
>
>My guess is a dangling object reference as you have said. Best best is to fire up the debugger in both methods and poke around in the LOCALS window for objects that aren't being released. Release them explicitly in code if you have to.

Ok, I've now narrowed this thing down. I've put the code in a separate post under this category called "Example of a form..." Message # 566754
If I don't get someone telling me I'm nuts, I'll post it to the MS bug reports.
Previous
Reply
Map
View

Click here to load this message in the networking platform