Article View: borland.public.cppbuilder.nativeapi
Article #8584Re: sizeof(BITMAPFILEHEADER) == 16 ?
From: Bob Gonder
Date: Wed, 06 Oct 2004 18:51
Date: Wed, 06 Oct 2004 18:51
13 lines
1350 bytes
1350 bytes
Tony Benham wrote: >Why is it so? (on BCB6, Win XP) >whereas I get 14bytes size on BCB3 Win98 > >BITMAPFILEHEADER fileHdrR; > fread(&fileHdrR, sizeof(fileHdrR), 1,i_t); I get 14 with commandline compiler 5.5 on XP. Check your pshpack2.h file. If it is wrong, then you would get 16. How's your Chineese (I think)? http://mental.mentsu.com/art/bcb/bcb6buga.htm
Technical Details
Message-ID:
<ndf8m09i8pcot7bc61qrrfuh1tbpa0j620@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<416429d8@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4e41fe90d46034f0 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: sizeof(BITMAPFILEHEADER) == 16 ? Date: Wed, 06 Oct 2004 11:51:32 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <ndf8m09i8pcot7bc61qrrfuh1tbpa0j620@4ax.com> References: <416429d8@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 65.160.211.218 X-Trace: newsgroups.borland.com 1097088691 65.160.211.218 (6 Oct 2004 11:51:31 -0700) Lines: 16 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail