From: Weiqi Gao Newsgroups: comp.os.msdos.djgpp Subject: Re: Are they there? Date: Sun, 14 Nov 1999 19:05:42 -0600 Organization: CRL Network Services Lines: 20 Message-ID: <382F5C66.8DA3DEE3@a.crl.com> References: NNTP-Posting-Host: a116008.stl1.as.crl.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5-15 i586) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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; These are for 32-bit compilers. You can find the above defines in (e.g.,) Cygwin. -- Weiqi Gao weiqigao AT a DOT crl DOT com