Results 1 to 4 of 4

Thread: Quiting with DirectX

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 1999
    Posts
    89

    Quiting with DirectX

    After I get done running a program that uses Direct Draw. The start menu shows a gray box in it that once was the program that was running. I have released my Direct Draw variables and set them to NULL. So why does this happen?

    Thanks

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Do you mean there's still a taskbar button? That's a bug in Windows -- sometimes it has a button there even though the program is no longer running. Clicking the button removes it

    I've seen this happen with Half-Life, GTA, and quite a few other programs as well.
    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
    Lively Member
    Join Date
    Aug 1999
    Posts
    89
    to an extent its a windows error, but it happens almost every single time when I quit an application, maybe I'm doing it the wrong way. How are you suppose to quit a program

    Thanks

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Well your program ends just after the return whatever; at the end of your WinMain function. Make sure that your program hasn't got stuck in an infinite message loop
    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

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