Article View: borland.public.cppbuilder.nativeapi
Article #1301Re: Portability and re-defining datatypes
From: Bob Gonder
Date: Thu, 13 Sep 2007 00:30
Date: Thu, 13 Sep 2007 00:30
15 lines
1486 bytes
1486 bytes
Remy Lebeau (TeamB) wrote: >BOOLEAN is defined in wtypes.h as follows: > > typedef boolean BOOLEAN; Also defined in winnt.h as typedef BYTE BOOLEAN; >So I'm assuming that since sizeof(BOOLEAN) is not the same as sizeof(BOOL), >the use of BOOLEAN instead of BOOL is probably throwing off the alignment of >the stack parameters, causing the error. Something like that.
Technical Details
Message-ID:
<ir0he3dove7crg1920mmjf761cbbig6esi@4ax.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<46e86d1d@newsgroups.borland.com> <46e87087@newsgroups.borland.com> <46e87f99$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e50dbaba0bc077bb X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Portability and re-defining datatypes Date: Wed, 12 Sep 2007 17:30:31 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <ir0he3dove7crg1920mmjf761cbbig6esi@4ax.com> References: <46e86d1d@newsgroups.borland.com> <46e87087@newsgroups.borland.com> <46e87f99$1@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: 67.77.144.184 X-Trace: newsgroups.borland.com 1189643428 67.77.144.184 (12 Sep 2007 17:30:28 -0700) Lines: 16 Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail