SDL_WINDOWID after build ignored / SDL 1.2. 13 / VC++2008 / WIN32

Hi all!

I have an issue I can’t solve without some SDL pros:

The task is simple -> forcing the SDL surface into a own controlled WIN32 window
using the SDL_WINDOWID environment variable.

I played around with some demos like this:

I tested all day and night without a result to run SDL in that WIN32 window. The
thing is, that it works with the pre-compiled EXE of that demo above!

So it’s working in general but not build in my development environment!

Any ideas here???


  • SDL 1.2.13
  • VC++2008 Express
  • Native WIN32 without any libraries
  • Windows Vista Business SP3

Thanks in advance!!!