Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dangling reference?
Message
De
31/07/2010 02:15:37
 
 
À
31/07/2010 01:57:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01474712
Message ID:
01474713
Vues:
92
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform