|
-
Feb 22nd, 2003, 10:17 AM
#1
Thread Starter
Hyperactive Member
Just Need A Simple Explanation
I'm converting some C++ code to VB.
I don't understand how part of this declaration works:
#ifndef IGBOOL
#ifdef __WIN32
typedef int IGBOOL;
#else
typedef long IGBOOL;
#endif
#endif
struct NotifyCallbackRecord{
IGBOOL Message; /* The message ID for the notification */
IGBOOL DataStatus; /* The status of the data attached to the notification */
char Data; /* The address of the data attached to the notification */
};
The type IGBOOL is defined as an INT.
I understand that an INT in C++ equals a LONG in VB.
But how can a CHAR be an address?
Isn't a CHAR a single byte?
I need to convert this to VB.
Anyone? Anyone?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|