At the beginning of my game I do some system checking and was wanting to terminate the program if something is wrong.
This checking is done before a window is opened, etc.
I was just wondering if there's a command to stop the program? PostQuitMessage will terminate the program but it waits until after the initialization is done and the window is opened.
I wanted to terminate the program before the window is opened.
My initialization program is seperate from my main program and is called from the main.