Original Post
When I use OpenGL with SDL, I find a lot of strange bugs: 1) The Win32 MessageBox() doesn't work. (Even when it returns S_OK, I just hear a bumpbeep) 2) fprintf() crashes with a writing exception at 0000000010. Something like that. (Only when I delete the code, it doesn't crash. It even crashes when commented out) I use VC++.NET and SDL-1.2.7. (Tried the real OpenGL headers instead of SDL_opengl.h, still the same bugs)