Click to See Complete Forum and Search --> : Quiting with DirectX
Allanon
Apr 28th, 2001, 08:51 AM
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
parksie
Apr 29th, 2001, 01:52 PM
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.
Allanon
Apr 30th, 2001, 10:51 AM
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
parksie
Apr 30th, 2001, 12:19 PM
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 :)
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.