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