Results 1 to 3 of 3

Thread: Closing Program Window

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Location
    Birmingham, AL
    Posts
    1,276
    If my C++ program is stuck in an infinite loop and I try
    to close the DOS window, I get the message "Windows cannot
    shut down this program automatically..." Then I click Yes,
    wait, wait, wait some more, get pissed, and have to Ctrl-Alt-Del
    to end the program. I am not sure why this is the case, but all the
    NT users can just close the program with one click and the window
    vanishes. Is there anyway I can do this in Win '98 ?

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Make sure the window has focus and press Ctrl-C.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Location
    Birmingham, AL
    Posts
    1,276
    It works mate. Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width