Building a DLL with stuff from the SDL.dll

Hello !

Has anybody here build a DLL for example
a plugin using functions from the SDL.dll using MinGW ?

If yes, is this plugin OpenSource ? If yes, then please
upload it somewhere and post the link.

Building a simple “Hello World” DLL works,
but building a more complex DLL using SDL
functions fails.

CU

Hello !

Has anybody here build a DLL for example
a plugin using functions from the SDL.dll using MinGW ?

If yes, is this plugin OpenSource ? If yes, then please
upload it somewhere and post the link.

Building a simple “Hello World” DLL works,
but building a more complex DLL using SDL functions fails.

Juhu. I found the problem. Using functions from SDL.dll in
another DLL works without problems. But i also used SDL_mixer
in my DLL, that crashed it always. When i use SDL_mixer directly
in a normal C/C++ programm it works correct.

Does anybody here know the difference between SDL and SDL_mixer ?
The build system from SDL was updated more often then the one
from SDL_mixer. Any Ideas ?

CU

Hey Guys…I’m 14 years old, and i’m argentinian. I developed a DLL that
uses SDL and SDL_Mixer. It’s called PhantomSDL. I did it with Dev-Cpp.

Here Is The Source (attached),

Bye.

2006/2/13, Torsten Giebl :>

Hello !

Has anybody here build a DLL for example
a plugin using functions from the SDL.dll using MinGW ?

If yes, is this plugin OpenSource ? If yes, then please
upload it somewhere and post the link.

Building a simple “Hello World” DLL works,
but building a more complex DLL using SDL functions fails.

Juhu. I found the problem. Using functions from SDL.dll in
another DLL works without problems. But i also used SDL_mixer
in my DLL, that crashed it always. When i use SDL_mixer directly
in a normal C/C++ programm it works correct.

Does anybody here know the difference between SDL and SDL_mixer ?
The build system from SDL was updated more often then the one
from SDL_mixer. Any Ideas ?

CU


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


Phantom Lord
Caelis Studios —> From Gods Hands To Yours
-------------- next part --------------
A non-text attachment was scrubbed…
Name: source.rar
Type: application/octet-stream
Size: 16717 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060217/551f5718/attachment.obj