Solved

Division by Zero

Posted on 1999-01-26
8
292 Views
Last Modified: 2010-04-16
Where can I find update to solve the problem of "Division by Zero for the new computer.
0
Comment
Question by:cbgold
  • 2
  • 2
  • 2
  • +2
8 Comments
 
LVL 7

Expert Comment

by:Inteqam
ID: 1217514
what?!!!!!!!!!!!??
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1217515
"Division by zero" is a program's runtime error, fix your code.
0
 
LVL 7

Expert Comment

by:Inteqam
ID: 1217516
thank you a hoffmann , i thought i am not understanding anything in computer science.

0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1217517
Inteqam, following snipped gave me a glue what is meant:

echo "text of this geustion" | sed -n -e 's/.*\(solve\).*\(problem\).*\(Division by Zero\)/\1 \2 \3/'

:-)
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 12

Expert Comment

by:Hypo
ID: 1217518
What exactly is the problem...?
0
 
LVL 3

Expert Comment

by:vikiing
ID: 1217519
If you're getting that error while you program is starting, and the address reported with the error pertains to no line of your code, then the problem is a very fast processor.

CRT unit has a problem: when program initializes itself, it calculates a time-base for Delay() procedure (no matter you use it or not). On faster processors (300 MHz and above) the calculation process generates an overflow condition (the final result can't be stored as a 16-bit word), which is reported as a "Division by zero" error, or Runtime error 200.

I don't remember where I've downloaded a patch from, which corrects CRT unit; but search for "Runtime error 200" (so, with double quotes) with Yahoo, and it'll give you dozens of sites.

0
 

Author Comment

by:cbgold
ID: 1217520
Thank you for vikiing.  The marks should be given to you.  I find the solution based on your comment.  Thks!  Please put this as the answer for reference of others.  The marks should belong to you.....
0
 
LVL 3

Accepted Solution

by:
vikiing earned 50 total points
ID: 1217521
If you're getting that error while you program is starting, and the address reported with the error pertains to no line of your code, then the problem is a very fast processor.

CRT unit has a problem: when program initializes itself, it calculates a time-base for Delay() procedure (no matter you use it or not). On faster processors (300 MHz and above) the calculation process generates an overflow condition (the final result can't be stored as a 16-bit word), which is reported as a "Division by zero" error, or Runtime error 200.

I don't remember where I've downloaded a patch from, which corrects CRT unit; but search for "Runtime error 200" (so, with double quotes) with Yahoo, and it'll give you dozens of sites.


-----

Glad to have helped !!!!!!

0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now