SDL 1.1 dll crashes in MSVC release mode

My application runs perfect when running with the ‘debug’ version of
SDL.dll (MSVC, SDL 1.1). If I switch to the ‘release’ version it crashes
in the SDL_SetVideoMode(…) function call.

Does anyone have a solution?

Thx in advance,
+Beosil

My application runs perfect when running with the ‘debug’ version of
SDL.dll (MSVC, SDL 1.1). If I switch to the ‘release’ version it crashes
in the SDL_SetVideoMode(…) function call.

Do the test programs crash as well?

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Do the test programs crash as well?

All test programs work great, except “testgl”. My application uses
OpenGL too, so I guess the problem lies somewhere in the OpenGL startup
code in SDL.dll (just a guess :wink:

+Beosil