Mail Archives: djgpp/1996/07/11/11:58:42
Errors-To: postmaster AT ns1
Xref: news2.mv.net comp.os.msdos.djgpp:5857
From: wgalazka AT zoolook DOT chem DOT uw DOT edu DOT pl (Wojciech Galazka)
Newsgroups: comp.os.msdos.djgpp
Date: Wed, 10 Jul 1996 14:10:28 GMT
Organization: University of Warsaw, Department of Chemistry
Lines: 9
Distribution: world
Nntp-Posting-Host: andrew.chem.uw.edu.pl
Summary: finfirst problems
Keywords: finfirst
Dj-Gateway: from newsgroup comp.os.msdos.djgpp
Content-Type: text
Content-Length: 233
Hi,
I'm still having problems with finfirst / findnext functions.
The file names in ffblk.ff_name are broken. Two first letters
are eaten ( OMMAND.COM instead of COMMAND.COM).
Has anybody experienced this before ?
Is this is C++? findfirst/findnext is broken in C++ due to the structure
packing bug in gcc. Try wrapping findfirst/findnext in C functions and call
these from C++ declaring them as "C" in the C++ module. That should solve the
problem.
--
Art S. Kagel, kagel AT quasar DOT bloomberg DOT com
A proverb is no proverb to you 'till life has illustrated it. -- John Keats
- Raw text -