PDA

View Full Version : Exit !


OMID SOFT
04-18-04, 07:48 PM
Hello,
I am working on a project, I made it's .EXE.
But when I run it and close it, it doesn't leave memory.
It means that the name of program will stay in the Task Manager.
Is here anyone that can help me ?
Thank you.
Omid Soroori of OMID SOFT.

EvilHaider
04-19-04, 08:20 PM
How are you shutting down the program? Are you simply closing/hiding the 'forms' or are you actually "exiting" the application (in the code I mean)?

EvilHaider
04-19-04, 08:30 PM
Make sure you unload ALL the forms that were loaded at any point in your program's execution and not just the form that was shown last. You also have to call 'end'.

kebo
04-27-04, 06:43 PM
Make sure you unload ALL the forms that were loaded at any point in your program's execution and not just the form that was shown last. You also have to call 'end'.

The END keyword should be avoided. Once all of the objects and forms are properly unloaded, the program will end. Calling END to exit a program could get you in trouble if you use databases, etc.
kevin