Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing an application
Message
 
To
12/04/2005 12:02:48
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01003603
Message ID:
01003829
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform