Re: convert typedef struct from C++ to VB
- From: "Kevin Provance" <kevin@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 28 Oct 2008 00:10:45 -0400
Yes, and a DWord is a VB Long
"Ken Halter" <Ken_Halter@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:uUTUDnHOJHA.4760@xxxxxxxxxxxxxxxxxxxxxxx
| Steve wrote:
| > Can somebody help me with the this structure (from winioctl.h). I
| > need to convert it to VB so that I can call the DeviceIOControl
| > function to return this data. I thought it looked fairly straight
| > forward but I must have something wrong because I am not getting what
| > I expect.
|
| Isn't a C++ 'Word' the same as a VB6 Integer (same number of bits, anyway)
|
| >
| > The call runs successfully (it returns a 1) but the data in the
| > members of the UDT are nothing near what I would expect.
| >
| > Thanks,
| > Steve
|
|
| --
| Ken Halter
| Part Time Groupie
.
- References:
- convert typedef struct from C++ to VB
- From: Steve
- Re: convert typedef struct from C++ to VB
- From: Ken Halter
- convert typedef struct from C++ to VB
- Prev by Date: Re: convert typedef struct from C++ to VB
- Next by Date: Re: convert typedef struct from C++ to VB
- 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
|