delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/21/03:46:41

From: "Damian Yerrick" <NOSP AT Musenet@pineight.8m.com>
Newsgroups: comp.os.msdos.djgpp
References: <qlTNIDAWOwL4Iwfj AT quayles1 DOT demon DOT co DOT uk> <382F5C66 DOT 8DA3DEE3 AT a DOT crl DOT com> <382F5EF1 DOT 822487C5 AT home DOT com>
Subject: Re: Are they there?
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Message-ID: <EIMZ3.1733$VO5.44321@dfiatx1-snr1.gtei.net>
X-Trace: /ba9QfE5qNugB15MNU5Iyyc3c9LgFNHMtnDwwNOHcDox91kl5MhKaewMghEwnrIJRGOSvzHRhFYr!Ah6rVWWpi33jLhHyhdiPkw+bMXV2QdhMw+Qo5DL4nAXpDo8X1+6fg+DHpQufOXpkDb34ae4=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Sun, 21 Nov 1999 06:56:36 GMT
Distribution: world
Date: Sun, 21 Nov 1999 06:56:36 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Robin Johnson" <robbat2 AT home DOT com> wrote in message
news:382F5EF1 DOT 822487C5 AT home DOT com...
> Weiqi Gao wrote:
>
> > David Parrott wrote:
> > >
> > > Heya all,
> > >     Sorry for the cryptic title but I would like to know if BYTE, WORD
> > > and DWORD are defined anywhere? If not what are there equivalent sizes
> > > so I can define them myself?
> > > The only one I know is #define BYTE unsigned char
> >
> > These types are used in the Windows SDK.
> >
> > typedef unsigned char BYTE;
> > typedef unsigned short WORD;
> > typedef unsigned int DWORD;
>
> typedef unsigned long int DWORD;
> is better for compiling with different compilers.
> it explicitly specifies that it wants 32 bits.
> unlike int, which is 32bits in DJGPP, but 16 bits in Turbo C++ v3

<OT>
But what about the Alpha and MIPS and other 64-bit chips?
</OT>




- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019