BP 7.0 CRT bug

Posted on 1998-04-14
Last Modified: 2012-06-21
Running DOS programs on fast PC's cause a runtime error 200, Division by Zero error, when the CRT unit is used and the program is compiled using BP 7.0. The problem is independent of using actual CRT functionality. According Borland this is a known problem, but they don't support the product any longer.

There should however be a non-Borland patch out somewhere fixing the problem.
Can anyone please guide me to the patch?
Question by:myhrer
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3

Expert Comment

ID: 1217461
I heard of that problem. Do you run a PII ? These CPUs are different constructed, so you'll have problems. There are Freeware CRT Units avaiable in SWAG or if you searche for CRT.TPU at Just overwrite your original CRT in \UNITS of your TP/BP - Directory and re-compile your program. You should watch that the new CRT works with exactly same procedure, so that you dont need to do any changes in your sources, but usually they are same.

Author Comment

ID: 1217462
Yes, I run PII.
I have search for both SWAG and CRT.TPU at
Can you be more precise?

Expert Comment

ID: 1217463
what you need is an exactly "copy" of the CRT.TPU - Unit. Borland didnt release that as i know, but u may get a such unit from other programmers for free. I think swag should have that. or there is a big lib at
On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button


Author Comment

ID: 1217464
Yes I found a patch at
I would like to give omsec the well earned 200 points, but then please resend the comment as answer. I don't find out how to back my rejected answer and approve your answer.
Thanks a lot! By the way, what is swag?

Expert Comment

ID: 1217465
swag stand for Source Ware Archive Group

Accepted Solution

omsec earned 200 total points
ID: 1217466
what you need is an exactly "copy" of the CRT.TPU - Unit. Borland didnt
     release that as i know, but u may get a such unit from other
     programmers for free. I think swag should have that. or there is a big lib

;) greets, omsec

Author Comment

ID: 1217467
Thanks for all help!

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article was initially published on Monitis Blog, you can read it here . When it comes to deciding which approach to website performance monitoring is best for your business, unfortunately, like so many options in life . . . it depends. In t…
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In a recent question ( here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question