Re: convert typedef struct from C++ to VB
- From: "Thorsten Albers" <albersRE@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 29 Oct 2008 06:19:39 -0700
Ralph <nt_consulting64@xxxxxxxxx> schrieb im Beitrag
<eRSB1cVOJHA.1908@xxxxxxxxxxxxxxxxxxxx>...
You can expand the definition as far as you want, but for every C/C++
compiler that does Windows - you'll find something like this in the
background.
typedef unsigned long DWORD;
typedef unsigned char BYTE;
typedef unsigned short WORD;
Yeah, and this shows what's going on: The rightmost part gives the name of
the new type and tells the compiler to treat 'DWORD', etc. like 'unsigned
long' etc. The compiler has to be told so since it doesn't by default;
'DWORD', 'BYTE', and 'WORD' are not (native) data types by default.
--
----------------------------------------------------------------------
Thorsten Albers albers(a)uni-freiburg.de
----------------------------------------------------------------------
.
- References:
- convert typedef struct from C++ to VB
- From: Steve
- Re: convert typedef struct from C++ to VB
- From: Ken Halter
- Re: convert typedef struct from C++ to VB
- From: Kevin Provance
- Re: convert typedef struct from C++ to VB
- From: Thorsten Albers
- Re: convert typedef struct from C++ to VB
- From: Ralph
- convert typedef struct from C++ to VB
- Prev by Date: Re: convert typedef struct from C++ to VB
- Next by Date: Determine optical drive type and capabilities
- Previous by thread: Re: convert typedef struct from C++ to VB
- Next by thread: Re: convert typedef struct from C++ to VB
- Index(es):
Relevant Pages
|