[SDL] dinamically linking problem

emanuele.dalmasso at libero.it emanuele.dalmasso at libero.it
Thu Apr 29 08:26:01 PDT 2004


Hey, I hope this does not arrive two time.
I have just sended it but it appear to not being arrived.
Sorry for evantually double reception.


    Hi to everyone.
I'm new in SDL programming, and I've some problem in using the DLL

I'm using VC 6.0 on win32.

I've tried to write a program with SDL, and it work without problem if I link statically the 
library (including the .lib files).
Now I was trying to link dinamically the library, but I'm in trouble with this, I've read 
some documentation and I've found that I've to use the LoadLibrary() function to load 
the dll module, the LoadLibrary is defined in winbase.h, but during the compiling 
session it give me a lot of error about this header (for example it does not know the 
DWORD type). Have I to include some other header or something else to link 
dinamically the dll?!

Thanks in advance.

    Emanuele.




More information about the SDL mailing list