Problem with Program not Quitting
Hi, I'm new to windows programming and am having a problem with my program not quitting properly. When I close it, the program disappears from view and the taskbar, and it looks like it's gone, but when I ctrl-alt-del it's still running, and it won't let me re-build it until I've closed it. Here are the parts of my code that I guess would be causing the problem:
bool done = false;
if(PeekMessage(&msg, hwnd, NULL, NULL, PM_REMOVE))
if(msg.message == WM_QUIT)
done = true;
If there's any other area of the program you need to see, just say so and I'll post it.