client log out to server!

I am programming on windows.

If the program crash, I need it to log out to the server automatically.
For Example:
1)memory access volatile
2)no catch for an exception
3)...


Thanks for your help.
I need it to log out to the server automatically.


I don't understand what you mean. Do you want the program that crashes to write a log to a file upon its crash or do you want the server on which it ran to log out of the user session that was used to log onto the server in order to run the program (assuming program isn't a windows service that runs under system user. ..)
I find a solution

signal mechnism
You really should use a Structured Exception Handler (SEH).
Topic archived. No new replies allowed.