Run Check Error when trying to print
Hello,
I'm using ReportBuilder v6.02, TExtraDevices 2.02 and Delphi 6
I have a Delphi application that is scheduled to run daily on a Server
(Windows 2000 Server).
When the application is executed, A Delphi generated range check error
message occurs in the code
at the point when the "print" routine is called. (I am trying to print in
PDF.) This occurs when the application is executed as a scheduled job and
interactively.
The error does not occur on my development machine. Obviously, there are
many differences in the
configuration of servers and client machines, but has anyone come across a
range check error like this?
Thanks,
Imran
I'm using ReportBuilder v6.02, TExtraDevices 2.02 and Delphi 6
I have a Delphi application that is scheduled to run daily on a Server
(Windows 2000 Server).
When the application is executed, A Delphi generated range check error
message occurs in the code
at the point when the "print" routine is called. (I am trying to print in
PDF.) This occurs when the application is executed as a scheduled job and
interactively.
The error does not occur on my development machine. Obviously, there are
many differences in the
configuration of servers and client machines, but has anyone come across a
range check error like this?
Thanks,
Imran
This discussion has been closed.
Comments
a) try to find the code that raises the range check error.
b) compile without range checking {$R-}
regards,
Chris Ueberall;
device? RB 6.02 is quite old, you can try using RB 7. There is a patch for
RB 7 which addresses an issue with very large words in a wrapping memo
causing this. This will be included in the next release too.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com