Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems releasing a class
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00390393
Message ID:
00390752
Vues:
8
I've experienced this problem when I have forgotten to clear object references. If you assign object references to a property of your application object and don't clear it by setting it to .NULL., VFP could hang trying to clear out the memory.

Just a thought.

>No, this won't help. Always when I step out of the program (with the debugger or by closing it) and go back to Visual FoxPro I cannot modify my classes, and when I type CLEAR ALL, FoxPro hangs and I have to end the task.
>
>Maybe anyone has another idea??
>
>>This is what I do - maybe it will help.
>>
>>When I launch the application, I assign the application object to a memvar.
>>
>>oApp = CREATEOBJECT("appname")
>>
>>When the user exits the program, I CLEAR EVENTS, then RELEASE ALL EXTENDED.
>>
>>This works for me.
>>
>>Dave
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform