Versions des environnements
iPUT IT IN your email, I hope You can understand it :-)
>Can you post the code that creates the Object and cleans it up?
>
>>I put a disp memory at the end of my application,
>>there is still a variable type 'O' with null value with the name of the main form of my app, and still variables I released two lines of code above.
>>How come (I'm talking about variables) ? And how can I kill the reference to the form I relesed ?
>>Thx
>>Alessio
>>
>>>If in the main prg of the called app you add;
>>>
>>>ON SHUTDOWN DO AppExit
>>>
>>>and
>>>
>>>PROCEDURE AppExit
>>>
>>>* close down any active forms
>>>FOR i = 1 TO _SCREEN.FORMCOUNT
>>> IF ( _SCREEN.FORMS[1].QUERYUNLOAD() )
>>> _SCREEN.FORMS[1].RELEASE()
>>> ENDIF
>>>ENDFOR
>>>
>>>CLEAR EVENTS
>>>QUIT
>>>
>>>RETURN
>>>
>>>Does this help?
>>>
>>>
>>>>I cannot kill it from Task Manager because the application I want to kill is called from a main exe program. So in Task Manager I just see it (the main program).
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement