Archived

This topic is now archived and is closed to further replies.

TeraByte

SDL, please help me

Recommended Posts

Im trying to learn SDL, am understanding the code and all, but when i run the compiled program i get this message box: "The SDLTest.EXE file is linked to missing export SDL.DLL: SDL_SetModuleHandle." Whats that mean, and how do i fix it? Thanks in advance.

Share this post


Link to post
Share on other sites
Just put SDL.dll(should have been included with lib files) into the folder your program is in or in your systems folder.

Share this post


Link to post
Share on other sites
I have... i downloaded it off cone3d and it didn''t work
so i installed sdl from the OpenGL Game Programming CD, compiled the libs and the dll, but its not working either

Share this post


Link to post
Share on other sites
I think you are mixing SDL version 1.2.4 with 1.2.3.
The import library from cone3d contains 1.2.4. In this version the function SDL_SetModuleHandle was added. Your SDL.dll is probably still 1.2.3 wihout that function.
Download the runtime library SDL-1.2.4-win32.zip form www.libsdl.org and replace the SDL.dll.

Share this post


Link to post
Share on other sites