Jump to content
  • Advertisement

Archived

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

MantisKid

Newbie Q: Debugging DirectX.

This topic is 6581 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

I have two questions which may seem trivial but would appreciate any advice. 1. If I install the debugging libraries will they affect the performance of commercial software on my PC? 2. How can I get output messages to be displayed in a window with Visual C(6)? (I am using D3DFrame to cut my teeth). Many thanks in advance. MantisKid

Share this post


Link to post
Share on other sites
Advertisement
1. Yes, if you install the debug runtimes every app and game using DX will be slower.

2. Are you talking about single messages once in a while? Use MessageBox(). If you meant outputting a continous log then you probably need to create a separate window and write the output to that one with GDI.

- WitchLord

Share this post


Link to post
Share on other sites
The DirectX documentation says that it is possible to set up Visual Studio so that debugging output can be channelled to an output window. I could not find anything to help me do this. Any ideas? Otherwise I''ll just do as you suggested.

Many thanks.

MantisKid

Share this post


Link to post
Share on other sites
Try using

OutputDebugString()
this will output a string to the debugging window of MSVC

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!