From: "Damian Yerrick" Newsgroups: comp.os.msdos.djgpp References: <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: 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" 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 But what about the Alpha and MIPS and other 64-bit chips?