Sign in to follow this  

programming DirectX with Borland C++ Builder

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

This topic is 4841 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.

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