Solved

Division by Zero

Posted on 1999-01-26
8
303 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
[X]
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
  • 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
On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

The conference as a whole was very interesting, although if one has to make a choice between this one and some others, you may want to check out the others.  This conference is aimed mainly at government agencies.  So it addresses the various compli…
Microsoft is moving in-place eDiscovery & hold from ECP to EOP console under Content Search in Search and Investigation Options.  In this post, I will be showing you how to export emails to a PST file using the Content Search Options.
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

728 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