[comp.lang.c] Bug in Borland C++ with Windows?

jke@tko.vtt.fi (Kemppainen Jukka) (03/20/91)

I tried the new Borland C++ two days ago, and found one
bug when I compiled some sample programs from Microsoft SDK:
editfile and some other examples that used function OpenFile for
opening file didn't work right when editfile application tried to
load (read) text file from hard disk. The same program worked just
fine when compiled with Microsoft C5.1 + SDK 3.0.

When I changed OpenFile to normal open (in C library) editfile worked
same way as compiled with C5.1. So, there seems to be a bug in Borland
C++ when used to produce Windows programs?

Jukka Kemppainen
Research Scientist
VTT
Techical Research Centre of Finland
Computer Techonoly Laboratory
e-mail: jke@tko.vtt.fi
.