cacelling shut down from a console application

Discussion in 'C++' started by erdem, Aug 14, 2006.

  1. erdem

    erdem Guest

    Hi,

    I have a console program that handles events such as SHUTDOWN, LOGOFF.
    I took the source code from

    http://www.codeproject.com/win32/console_event_handling.asp

    What I try to do after catching shutdown event is to be able to cancel
    it.

    Is there a windows function that cancels shut down, or is there any way
    of doing it.

    Thanks

    Erdem
    erdem, Aug 14, 2006
    #1
    1. Advertising

  2. erdem

    Jim Langston Guest

    "erdem" <> wrote in message
    news:...
    > Hi,
    >
    > I have a console program that handles events such as SHUTDOWN, LOGOFF.
    > I took the source code from
    >
    > http://www.codeproject.com/win32/console_event_handling.asp
    >
    > What I try to do after catching shutdown event is to be able to cancel
    > it.
    >
    > Is there a windows function that cancels shut down, or is there any way
    > of doing it.
    >
    > Thanks
    >
    > Erdem


    This is OS specific and hence off topic here. Try one of the microsoft
    newsgroups. I've had a lot of luck with microsoft.public.vc.language.
    Jim Langston, Aug 14, 2006
    #2
    1. Advertising

  3. erdem

    erdem Guest

    Thanks,

    Erdem
    erdem, Aug 15, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Anders Both

    Shut down of asp.net process.

    Anders Both, Jan 11, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    624
    Hermit Dave
    Jan 13, 2004
  2. Michael Persaud

    Shut Down Machine

    Michael Persaud, Jan 22, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    476
    George Ter-Saakov
    Jan 22, 2004
  3. Steve
    Replies:
    0
    Views:
    443
    Steve
    Jan 31, 2006
  4. Replies:
    0
    Views:
    344
  5. erdem
    Replies:
    5
    Views:
    497
    Howard
    Aug 16, 2006
Loading...

Share This Page