Is SDL_putenv in SDL.dll

Hi All,
I am still trying to get the SDL_WindowID environment variable hack
working. When a few of you mentioned previously to us putenv I stupidly
assumed it was a standard C function ( for some reason ). Now I realise
that you mean the putenv function in SDL_getenv. When I try to access it
from the SDL.dll I get the following error message.

“The procedure entry point SDL_putenv could not be located in the
dynamic link library SDL.dll.”

Is SDL_putenv exported from the DLL?

Thanks in advance for any enlightenment.

Dominique
http://www.DelphiGamer.com

Hi I just ran SDL.dll through TDump.exe and SDL_putenv is definately not
exported . Should it be? If anyone is interested in seeing the DLL dump,
I can post it here or send it to them. My SDL.dll is timestamped as
23/7/2001 which should be the latest version shouldn’t it?

Thanks in advance for any enlightenment.

Dominique.

Dominique Louis wrote:> Hi All,

I am still trying to get the SDL_WindowID environment variable hack
working. When a few of you mentioned previously to us putenv I stupidly
assumed it was a standard C function ( for some reason ). Now I realise
that you mean the putenv function in SDL_getenv. When I try to access it
from the SDL.dll I get the following error message.

“The procedure entry point SDL_putenv could not be located in the
dynamic link library SDL.dll.”

Is SDL_putenv exported from the DLL?

Thanks in advance for any enlightenment.

Dominique
http://www.DelphiGamer.com

Hi I just ran SDL.dll through TDump.exe and SDL_putenv is definately not
exported . Should it be?

No, it should only be used on Windows CE.

I just applied David’s fixes for SDL_WINDOWID to CVS, so try the latest
CVS snapshot: http://www.libsdl.org/cvs.html

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Hi Sam,
Thanks for the prompt response.
Does CVS contain any binaries, of will I have to dig out a copy of
Borland C++ to compile the DLL? Is there an automated build system where
by, the latest unstable binaries are made available every couple of days
or is it all done manually at the moment?

Dominique

Sam Lantinga wrote:>> Hi I just ran SDL.dll through TDump.exe and SDL_putenv is definately not

exported . Should it be?

No, it should only be used on Windows CE.

I just applied David’s fixes for SDL_WINDOWID to CVS, so try the latest
CVS snapshot: http://www.libsdl.org/cvs.html

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Hi Sam,
Thanks for the prompt response.
Does CVS contain any binaries, of will I have to dig out a copy of
Borland C++ to compile the DLL? Is there an automated build system where
by, the latest unstable binaries are made available every couple of days
or is it all done manually at the moment?

It’s a manual build system, but I can create a DLL fairly easily upon
request.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Hi Sam,
If you are able to do so I would be very interested in receiving it
so that I can test this SDL_WINDOWID hack with JEDI-SDL. Please send the
DLL so if you can or let me know where I can download it from.

Thanks,

Dominique
http://www.DelphiGamer.com

Sam Lantinga wrote:>> Hi Sam,

Thanks for the prompt response.
Does CVS contain any binaries, of will I have to dig out a copy of
Borland C++ to compile the DLL? Is there an automated build system where
by, the latest unstable binaries are made available every couple of days
or is it all done manually at the moment?

It’s a manual build system, but I can create a DLL fairly easily upon
request.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment