orbitaltech
asked on
How to change C++ Const to VB Const
I need to change some C++ constants to VB constants (Which do not appear in the API32.text)
Ex:
In C++ CCS_Adjustable would be defined as
#define CCS_ADJUSTABLE 0x00000020L
In VB It would be
Public Const CCS_Adjustable = &H??????
How do I perform the conversion? I need to do this to many constants
Ex:
In C++ CCS_Adjustable would be defined as
#define CCS_ADJUSTABLE 0x00000020L
In VB It would be
Public Const CCS_Adjustable = &H??????
How do I perform the conversion? I need to do this to many constants
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
L means Long in C
If you wish, you could write:
Public Const CCS_Adjustable = &H20&
Which specifies that CCS_Adjustable is a Long.
If you wish, you could write:
Public Const CCS_Adjustable = &H20&
Which specifies that CCS_Adjustable is a Long.
ASKER
My hunch exactly.. Thanks for your help
You're welcome. :-)
ASKER