make sure you are including the ddraw.lib as well as the ddraw.h and initguid.h files.
Make sure these are included in your source file:
#include <initguid.h>
#include <ddraw.h>
Make sure this is included in the Project > Settings > Link tab:
Where it says this half way down the properties sheet ->
Object/library modules:
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
Add ddraw.lib so the line looks like this:
Object/library modules:
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ddraw.lib
This should help out with the error you're getting, also, you might need to add the uuid.lib as well... I'm not sure about that, but you might.
Best Regards,
Nathan Martini
Technical Support Engineer
EB1.com
Thanks..I found that out last night and I know I have to include the ddraw.lib..but the only problem is I am using the free-commandline compiler,and I don't know how to use the IMPLIB.EXE to import a lib..so if you know how of anyone else does please help..Thanks..PEACE!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.