PDA

View Full Version : DOS Graphics no longer working ( convert program to read SqlServer).



Patrick J. Adams
19-Dec-2005, 04:58 PM
Dear Anyone....
I have modified an old DOS dataflex program to access Microsoft SQL
Server. I did
this by changing the OPEN statement from

OPEN "F:\SW\DATA\D2DINVC" AS D2DINVC
to
OPEN "F\SW\DATA\D2DINVC.INT" AS D2DINVC.

I changed the reference from the dos DAT file to the INT (interface) file.

The program would NOT work in DFRUN mode (expected, got BAD DRIVER NAME
error),
but the program DID work in DFRUNCON mode.
Only problem, the dos graphics NO longer are visible, they are replace by
generic text.
The only change in the program was the change to the OPEN statement.

What is different in DFRUNCON mode vs. DFRUN mode, to eliminate the dos
graphics?

Any help or insight into this problem would be greatly appreciated.

Thanks Pat

patrickadams@idealease.com
847-304-3227
847-304-3297 (fax)

Vincent Oorsprong
20-Dec-2005, 01:59 AM
Dear Patrick,

The last version that had graphics support - via Dr. Halo drivers - was
3.01b. I assume you are using 3.1 or 3.2 for you MSSQL project. That means
graphics are not available at all, not with DFRUN and not with DFRUNCON.

To answer the question: DFRUNCON is the console mode (= windows) version of
the runtime. Screen I/O is so different that DOS graphics are not possible.

--
Regards,
Vincent Oorsprong
Data Access Europe B.V.
http://www.dataaccess.nl
Tel: +31-74-2555609