• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 367
  • Last Modified:

use d3d9.dll

I would like to use the d3d9.dll instead of the d3d9d.dll which is debug. How do I do this

0
nielsboldt
Asked:
nielsboldt
2 Solutions
 
itsmeandnobodyelseCommented:
What platform/compiler are you using?

On VC6 you would change the settings at Project - Settings - Link - Category Input - Object/Library modules. There are different settings for Debug\Release.


However, that only works for statically loaded dll's.

Regards, Alex
 
0
 
nielsboldtAuthor Commented:
sorry - visual studio 2003 version 7.1 of vcc

Niels
0
 
jkrCommented:
As Alex wrote - change your project setup to "Release Build". Also, use the dependency walker (www.dependencywalker.com) to see if other modules you are using reference the debug version of that DLL and correct that if necessary.
0
 
_corey_Commented:
I don't really ever see outside modules link d3d9 specifically so I thnk you're safe there.

For VC7+:

'Project' menu -> 'Project_Name settings' -> 'Linker' tab on left -> Input tab on left.

This opens the page with the input linker settings.  You need to set 'Additional Dependencies' list to have 'd3d9.lib' in the list.  Take out any d3d9d.lib settings.

To make sure the debug libraries are in the debug build and the release libraries are in the release build, perform the same action for 'Debug' and 'Release' by selecting each one from the top left combo box on the same window.

Be sure to change any other DirectX libraries to debug and release appropriately.

corey
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now