Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dangling reference?
Message
From
31/07/2010 02:15:37
 
 
To
31/07/2010 01:57:13
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01474712
Message ID:
01474713
Views:
91
>To test, I created it and place it on a form. Works fine. I then closed the form.
>
>The problem lies when I try to modify the form again. I get a "FILE IS IN USE" error!
>
>Also, if I try to go back to open the cntImage class, I then get a "Remove classes from memory?" message. Only upon clicking Remove will I be able to access both the class and the form concerned.
>
>I believe this has something to do with dangling references, but I tried this code in the Destroy event of the container:
>
Nope. The files you are trying to change are still in use and therefore "blocked". See clea program and set classlib to / set proc to
which can be put in a snippet called on shutdown or by hand.

regards

thomas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform