On 16-bit development platforms, the compiler constants are defined as follows:
Constant | Value | Description |
---|---|---|
Win16 | True | Indicates development environment is 16-bit. |
Win32 | False | Indicates that the development environment is not 32-bit. |
On 32-bit development platforms, the compiler constants are defined as follows:
Constant | Value | Description |
---|---|---|
Win16 | False | Indicates that the development environment is not 16-bit. |
Win32 | True | Indicates that the development environment is 32-bit. |
Note These constants are provided by Visual Basic, so you cannot define your own constants with these same names at any level.
#Const Directive | #If...Then...#Else Directive | Visual Basic Constants