Forum > General

BP preformed ilegal operation

(1/4) > >>

jws338:
I am running a dos program in a w98 box. Every day a 23:59 it preformed a illegal operation.

Error
Fault location 2030:22C1

Any ideas
John

jamie:
Are you using any of the date functions or doing some math with the date time ?

af0815:
The first qestion, have you the code ?

MarkMLl:

--- Quote from: jws338 on August 02, 2022, 10:21:48 pm ---I am running a dos program in a w98 box. Every day a 23:59 it preformed a illegal operation.

Error
Fault location 2030:22C1

--- End quote ---

When you say "BP", presumably this is Borland Pascal?

This forum supports the Free Pascal Compiler, FPC, so unless you try to recompile your program we are unlikely to be able to help.

MarkMLl

jws338:
Jamie: I use date functions to show the date and to date stamp in files I make.

af0815: I wrote the code and I have it

MarkMLI: BP = Borland Pascal 7.0
The program is used to monitor a sump pumps and boiler usage. I do have inputs from a sump that shows how many seconds pump is on and off. This is display on the art and wrote to a file telling how many times a pump is on and total minutes for the day. The file is appended every day. This is done for 16 inputs. If a pump runs too long I get a email letting me know.

I have tried running the program using the IDE and the error exited the IDE. Usually running a program
using the IDE program it will stop at the line in the program that caused the error.


Navigation

[0] Message Index

[#] Next page

Go to full version