Archived

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

kish

Please help !!!

Recommended Posts

I''m trying to build directDraw game. I''m using Ddutil.h and Ddutil.cpp so i won''t need to dirt my hands to much. I pass the compilation stage successfully, but the linker give me this message: *********************************************************** Linking... Ddex2.obj : error LNK2001: unresolved external symbol _DirectDrawCreate@12 Debug/DDEX2.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. DDEX2.exe - 2 error(s), 0 warning(s) ************************************************************ what could i do ?

Share this post


Link to post
Share on other sites
Go to the "Project" menu
Select "Add to project"
Select "Files..."

In the "Files of type:" field choose "Library Files (.lib)"
Browse to where you installed the DirectX SDK and go to the lib/ directory

Add "ddraw.lib" to the project

Done. Recompile now.

Share this post


Link to post
Share on other sites
pouya ! you are genius !
it really worked !
ow my game works !
thanks !
i love you man !
I''m willing to serve in the canadian army, just for you.

what is the magic ? tell me what is the principle here please !

Share this post


Link to post
Share on other sites