Activex and sdl

Hi everyone,

Is there anyone who has tried to use sdl in an activex window. Because I
cannot get SDL to use the window that is given by activex. I tried the
’window hack’ I saw somewhere in the mailing list archive, but I don’t think
I got the right window ID. Because if I use this ID sdl still opens a new
window.

Wouter.

Hi Molengraft,
You need to set the “SDL_WINDOWID” before the call to
SDL_SetVideoMode. Also note that SetEnvironmentVariable and _putenv
store their environement variables in different places so you need to
use _putenv for SDL to recognise it.

I hope this helps.

L8R,

Dominique.
http://www.DelphiGamer.com
http://www.delphi-jedi.com/Jedi:TEAM_SDL_HOME

Molengraft, W.v.d. wrote:> Hi everyone,

Is there anyone who has tried to use sdl in an activex window. Because I
cannot get SDL to use the window that is given by activex. I tried the
‘window hack’ I saw somewhere in the mailing list archive, but I don’t think
I got the right window ID. Because if I use this ID sdl still opens a new
window.

Wouter.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl