|
Post by rickl on Mar 21, 2019 19:22:36 GMT 1
My first attempt to use vDos with my Clipper database program resulted in DOS error 6 while attempting to write to a TXT file. Any ideas?
|
|
|
Post by Jos on Mar 21, 2019 20:36:14 GMT 1
That’s strange, DOS error 6 is “Invalid handle”. Your program would do some file operation using a handle that isn’t returned by DOS Open file, or that file is already closed. You could try SET CLIPPER=F200 in autoexec.txt, though that normally only fixes insufficient file handles (with another error message). Else start vDos with the log option (“…vDos.exe” /log), perhaps the generated vDos.log file will reveal something.
Jos
|
|
|
Post by rickl on Mar 23, 2019 9:06:18 GMT 1
It was my fault. I hadn't figured out the location of the directories in vDOS.
|
|
|
Post by rickl on Mar 23, 2019 19:40:25 GMT 1
Is there any reason that the CLIPPER command SET KEY -1 TO CATLIST would cause a execution halt? (CATLIST is a PROCEDURE in my program. I am assigning the Function Keys to PROCEDURES.)
Also, does CLIPPER function ISCOLOR() return .F. in vDOS?
Sorry to be a bother, but my program halts and I cannot figure out why. I have to use ALT-C to get out of it. It runs okay on a 32 bit machine.
|
|
|
Post by Jos on Mar 24, 2019 0:29:19 GMT 1
No idea why SET KEY doesn’t function. Could be related: Clipper transfers the BIOS keyboard buffer to one of its own. Causing problems in the past with pasting text since Clipper doesn’t check for a buffer overflow. I neither know how CLIPPER determines the adapter type. By the BIOS vDos returns VGA with a color monitor.
Jos
|
|