I have made a simple little window. When I close the app, the process keeps running.
I have this in my code
Why is the programs process still running after I close the app.
PostQuitMessage ( 0 );
does your GetMessage loop check for the 0 value?
PostQuitMessage() simply puts WM_QUIT into the thread's message queue. Does your message loop handle WM_QUIT?
Ah, thank you,
I forgot to check for WM_QUIT
Funny thing is I just gave an example of that to someone else. :D