Board index » delphi » run time error when compiled
George wetzel
![]() Delphi Developer |
Tue, 11 Mar 2003 11:08:08 GMT
run time error when compiled
I've been writing a program the requires checking the printer status( i.e on
line, out of paper) and found the solution in FAQPAS1.TXT question #15. I used a slightly modified version of solution A2 that will return values representing on line, off line, and out of paper. My problem is the solution works just fine when run from the editor, but when the program is compiled, I get a run time error of 160 and the program terminates. Since I have no book and only the 'net for references I would like to be pointed in the right directing to solve this problem. For what it's worth, the machine being used is an HP Vectra 166MHz PI running DOS 6.22 and the printer (temporarily) is a Cannon BJ200 ink jet. This printer will be replaced with an dot matrix at a later date. I can be contacted via email at gwwet...@earthlink.net. Thanks. |