Mail Archives: djgpp/1996/06/19/15:20:14
From: Joern Sierwald <Sierwald AT tu-harburg DOT d400 DOT de>
Date: Wed, 19 Jun 1996 13:30:41 +0200
The find_t struct in dos.h is supposed to be packed. It
is full of (packed) attributes. For some strange reason, it isn't
packed until I put an #pragma pack(1) in front of it.
(#pragma pack() behind it).
The findfirst/findnext functions don't work until I modify
the headers.
Is this a known bug? I'm using V 2.00.
Known bug affecting C++ apps only. The packed attributes are the problem, IMS,
but as you discovered the #pragma works.
--
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 -