Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Releasing an application
Message
 
À
12/04/2005 12:02:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01003603
Message ID:
01003829
Vues:
22
Help me out - you are looking for a means to exit your application, but you need to retain property [variable] values?

If you shut down an application it would seem that the variables are not needed.

The clear all and release all would follow the READ EVENT line in your main program. CLEAR EVENTS will destroy the app processes and execute the code following the READ EVENT line.


>I cannot use a clear all or release all because doing that I would clear also the variables used by the main exe program which calls my application
>I also use a datasession object to be free of closing all tables without
>modifying the main environment
>
>>It would seem that the "exit" method of your application should call a "clear events".
>>
>>I typicall issue a "release all" and "close all" and SQLDISCONNECT() after the "READ EVENTS" statement. When a CLEAR EVENTS is issued, the code following the READ EVENTS is executed.
>>
>>>No
>>>My Application starts with a main prg which sets the environment then launch a modal form.
>>>
>>>>>I am developing some applications which have to be called from a main exe program. I realized that when I exit my application it remains still loaded in memory. Is there anything I can do to free the memory from my application ?
>>>>>Thx
>>>>>Alessio
>>>>
>>>>Is there a "CLEAR EVENTS" line of code in your application?
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform