🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #12209

Re: Problem with struct sizes

#12209
From: nicolasr
Date: Sun, 21 Dec 2003 18:23
14 lines
1390 bytes
What do you mean exactly?
For a test I declared my own BITMAPFILEHEADER struct
and put it inside pragma pack(push, 2)/pragma pack(pop)
Then it works, but I think this not the way to go. I can't redeclare
all API structures I use.

Nick

"Rodolfo Frino - Macrosoft" <Macrosoft@Atlantis.com> schrieb im Newsbeitrag
news:3fe5c6d6@newsgroups.borland.com...
> Did you try using #pragma?
>
> Rodolfo
>
Technical Details
Message-ID: <3fe5e522@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!fr.ip.ndsoftware.net!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fe51de3@newsgroups.borland.com> <3fe5c6d6@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,157400ec2d2e1eab
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-12-21 10:39:33 PST
From: "nicolasr" <nicolasrNOSPAMATSIGNgmx.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3fe51de3@newsgroups.borland.com> <3fe5c6d6@newsgroups.borland.com>
Subject: Re: Problem with struct sizes
Date: Sun, 21 Dec 2003 19:23:26 +0100
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 80.133.166.199
Message-ID: <3fe5e522@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1072031010 80.133.166.199 (21 Dec 2003 10:23:30 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!fr.ip.ndsoftware.net!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail