Archived

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

VC++ Release Linking Problems

This topic is 5982 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Call me a newbie ( :D ), but my game compiles fine in debug mode. However, when i go to build a release, i get the errors:
GameInterfaceDD7.obj : error LNK2001: unresolved external symbol _DirectDrawCreateEx@16

GameInterfaceDD7.obj : error LNK2001: unresolved external symbol _IID_IDirectDraw7
 
i know what these errors mean, but i don''t know how to fix it in this situation... Thanks! "You call him Dr. Grip, doll!"

Share this post


Link to post
Share on other sites
ummmm...

to fix it u should include ddraw.lib on the project->settings->link.
to fix it on your release version, make sure that in the
project->settings->link you choose the setting for release version
(you can do that on the tree thingy on the left side)

Gil

Micro$oft beta testing:
"Does the splash screen works? SHIP IT!!!"

Share this post


Link to post
Share on other sites