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
Printable View
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
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.
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
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 :)