Jump to content
  • Advertisement
Sign in to follow this  
gama

programming DirectX with Borland C++ Builder

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

When I make some applications using DirectX and there are some error when i run application, than debuger start and application freezes and all computer freezes. I must restart computer. What is the solution to work with Borland C++ builder with DirectX without freezess??? may be to disable debuger? thanks! sorry about my english.

Share this post


Link to post
Share on other sites
Advertisement
It's possible that the errors are causing an "Access Violation" or other similar window to pop up in the background (ie. "behind" your app). If you have a full-screen exclusive mode application, this will appear to be a system freeze, as input will no longer be directed towards your application, but your app will still be dominating the whole screen.

A few suggestions if this is the case:
1) Use Win2K or WinXP... they handle this a LOT better.
2) Try to press "Enter" (close the dialog box), then "Ctrl-F2" (program restart/shutdown). You may also need to mess around with ALT-Tabbing in here.
3) Ctrl-Alt-Del will work on 2K and XP, but you'll need to totally shut down your development environment and start it back up (it won't close nicely either since it still thinks that it is debugging an app).
4) Make a windowed mode version of your app for debugging purposes.
5) Don't make any errors! :)

Disabling the debugger will not help... access violation messages are shown regardless. They indicate a serious problem in that your application is trying to read/write memory that does not belong to it (ie. NULL/uninitialized pointers, etc).

Anyways hope that gives you somewhere to start at least.

Share this post


Link to post
Share on other sites
Sign in to follow this  

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