Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Releasing an application
Message
De
12/04/2005 05:23:11
Jon Neale
Bond International Software
Wootton Bassett, Royaume Uni
 
 
À
12/04/2005 05:01:44
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:
01003625
Vues:
26
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform