|
-
Apr 28th, 2001, 08:51 AM
#1
Thread Starter
Lively Member
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
-
Apr 29th, 2001, 01:52 PM
#2
Monday Morning Lunatic
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
-
Apr 30th, 2001, 10:51 AM
#3
Thread Starter
Lively Member
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
-
Apr 30th, 2001, 12:19 PM
#4
Monday Morning Lunatic
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|