Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing an application
Message
From
12/04/2005 05:29:22
 
 
To
12/04/2005 05:23:11
Jon Neale
Bond International Software
Wootton Bassett, United Kingdom
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:
01003628
Views:
15
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).
Previous
Reply
Map
View

Click here to load this message in the networking platform