Digisoul Posted February 22, 2010 Share Posted February 22, 2010 Hello there i have an project which save its @exitcode before closing. now my problem is that how can i do this if user terminate the application with other program? here is my example code OnAutoItExitRegister("pexit") While 1 Sleep(100) WEnd Func pexit() MsgBox(0,"","The exit code i want to save:"&@exitCode) EndFunc its work well if i terminate the program from tray menu, but the function "pexit()" never execute if i terminate with other program, like task killer what is the alternate for this situation? 73 108 111 118 101 65 117 116 111 105 116 Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now