I have an SDL application that does not create an SDL window, because I only need SDL for some preprocessing steps. So SDL is initialised like so:
SetVideoMode(0,0,0,SDL_SWSURFACE);
The application itself is a wxWidgets application.
On Windows XP, when I run it from Code::Blocks, whether in debug or release mode, I get my application as expected. But when I start it from the command line, I get a big black SDL window AND my application.
So what exactly does Code::Blocks do when it starts the application, to avoid this SDL window?