Application didn't initialize properly

I recently updated to the latest SDL2 code, which I hadn’t updated in quite a while.? Now my window creation is failing.? I tracked it back to the earliest point of failure: when I call SDL_InitSubSystem(SDL_INIT_VIDEO), it fails, and SDL_GetError returns “Application didn’t initialize properly, did you include SDL_main.h in the file containing your main() function?”

What is this, and why is it happening to me suddenly?? SDL_Main.h is irrelevant to me, as I’m writing in Delphi, not C or C++.

Mason

I fixed this last night, go ahead and update.On Sat, Jun 29, 2013 at 9:38 AM, Mason Wheeler wrote:

I recently updated to the latest SDL2 code, which I hadn’t updated in
quite a while. Now my window creation is failing. I tracked it back to
the earliest point of failure: when I call
SDL_InitSubSystem(SDL_INIT_VIDEO), it fails, and SDL_GetError returns
"Application didn’t initialize properly, did you include SDL_main.h in the
file containing your main() function?"

What is this, and why is it happening to me suddenly? SDL_Main.h is
irrelevant to me, as I’m writing in Delphi, not C or C++.

Mason


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org