Solved

Division by Zero

Posted on 1999-01-26
8
294 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 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

15 Experts available now in Live!

Get 1:1 Help Now