Jump to content

Windows log off


dose
 Share

Recommended Posts

this is more of a programming question, i wrote a program that waits for the log off request and if needed stops the log off. it works in most of the computers, but some computers log off without any notification (FORCED). (for example, if a word document is not saved, usually when logging off it asks if you want to save it and the problem is that is some computers in the network dont ask). I guess its in the configurations of the computer itself, but i cant find where it could be. I would appreciate if someone could help me. thank you in advance.

[dose]

Link to comment
Share on other sites

Welcome to the Windows Forum!

I'm sorry, I do not know the exact answer. But I think it may have something to do with the program state. This will either allow Windows to close the application, or prompt the user to force process termination.

Can you try to read up on program states; what states there are, and if any of these may cause this behavior?

Link to comment
Share on other sites

hi, thanks for replying.

i dont think its in the state of my program. I did the same exact actions on two different computers, and they produce different results. You can test it with MS word, open a new document, make some changes and log off without saving it. Does it pause the log off and tell you that you have an unsaved document. As long as i new before all computers used to give warnings, and this is the first time when faced this kind of a problem when windows logs off without any warnings. Right now i am trying to meet up with the old admin of the network to ask him of the problem. so if he knows, that would be greate. and of course i'll post it here.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy