Advertisement

Please help !!!

Started by March 24, 2002 11:29 AM
1 comment, last by kish 22 years, 7 months ago
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 ?
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.

Advertisement
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 !

This topic is closed to new replies.

Advertisement