delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/1997/12/30/18:03:41

Message-Id: <s4a97bc8.074@calderauk.com>
Date: Tue, 30 Dec 1997 22:54:47 +0000
From: Matthias Paul <MPaul AT calderauk DOT com>
To: opendos AT delorie DOT com
Subject: Re: runtime error 002
Mime-Version: 1.0

Hi Mark,

>I am encountering an "runtime error 002 at 04D1:0c34."
This looks very much like a message emitted by Borland s RTL (Runtime Library as 
for Borland Pascal etc.). In this case, runtime error 2 means "File not found". 

If you are familiar with DEBUG or another debugger you can use the address to
identify the section which causes the problem, for example:

Let the error occur when running the FAX program from inside the DEBUG program,
and write it down. Exit the program, and try it once more. If the address is the same,
it can be assumed that it will also not change during another run. Hence you can set
a breakpoint at this address, and then run the program a third time. DEBUG will then
stop before the error occurs (probably short before an INT call). Reading out the
register contents, and examining the code excerpt you can then determine the refered
file name etc. This can help much to solve the problem.

>Has someone some idea on how I can understand this error?  It occures when I
>am using a fax program only?  All that I can figure is that I need to set a
>value in my config at some larger number?
I don t think this is necessary, usually this is just caused by opening a non-existing file.
But you can try to set FILES/FCBS to a higher value, or play with the SHARE parameters.
Also verify that the %TMP%/%TEMP% variables are pointing to a writeable drive/
directory, which has enough free space for temporary files.

If the problem cannot be fixed, it should be reported to the author of the Fax program.
Usually, such poor error messages indicate badly written software... It s probably not
a problem with OpenDOS.

Matthias


------------------------------------------------------------
Matthias Paul
eMail: <Matthias DOT Paul AT post DOT rwth-aachen DOT de>
Web: http://www.rhrz.uni-bonn.de/~uzs180/mpdokeng.html


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019