Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

halt problem

Status
Not open for further replies.

bowsermxli

Programmer
Aug 27, 2002
9
MX
this is the my problem :
i have a uo inherit from sle, where i have a choose case in the modified event.
when the user type RE, i have some code and a halt command.

the user exit the app sucesfully, but sometimes the process simply don't die....
i try close everything before halt command, but the result is the same.. sometimes the process don't die!

i try too Post event ue_exit, then use halt command but then dr. Watson app appear.

i must use the task manager to End the process
some idea why the process don't die??

i'm using pb8 built 9704, and NT4 w/SP
thank's..........
 
Are you using "HALT CLOSE"? That should clean up and close the application.


Olan
 
yeap.. i use "halt close" and "halt" too

i close all windows before i use halt.......
 
Halt will interupt the code in ue_close.
ue_close may not finish running.
I liken Halt to breaking a hole in the wall in order to exit a room. If there is a door use it.

Just close the window.

If you have code in the modified event that you don't want to run you might use RETURN after posting the window's ue_close event.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top