Sign in to follow this  
chrono_one

VC++ Release build problems

Recommended Posts

chrono_one    100
So I'm writing a program that uses dx7(i know it's old) with VC++ express 2010. I can build my project just fine in Debug mode. It compiles and executes. When I switch to Release mode however, I get this error:


1>DDFuncs.obj : error LNK2001: unresolved external symbol _DirectDrawCreateEx@16
1>DDFuncs.obj : error LNK2001: unresolved external symbol _IID_IDirectDraw7


I am new to 2010 version. Have I not included a directory somewhere or what? Thnks.

Share this post


Link to post
Share on other sites
chrono_one    100
Quote:
Original post by _fastcall
Have you added the DirectX libs in the linker options of the Release configuration?


With Configuration set to Active(Release), yes ddraw.lib and dxguid.lib are included in Linker->Input.

God the new version is so confusing.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this