Jump to content
Sign in to follow this  
Champak

Question about computer shutdown

Recommended Posts

When you force the shutdown of the computer/windows, does it just force exit an autoit program, or will a program go through its exit function? I'm leaning towards the first. So if that's the case, is there a way to set a program up to see if windows is shutting down so I can automatically exit the program before windows forces it to exit?

Share this post


Link to post
Share on other sites

I just came across a different function. OnAutoItExitRegister. Is it better/safer to use this, or the winapi_shutdown functions to call my exiting function?

Share this post


Link to post
Share on other sites

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

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...