are you using graphic files? If so, you need to include them.
He said: I've ran this in BMax and it opens and works, but the program on it's own doesn't even open the window.
The example he posted does not use images, nor any type of media.
What version of mingw do you have?