VB6's Boolean data type equivalent in MIDL
Which MIDL d开发者_如何转开发ata type is equal to the VB6's Boolean
type?
According to MSDN Boolean
is available in MIDL.
Finally I tried Boolean
(as @Sohnee suggested), VARIANT_BOOL
(thanks to @Alex K.) and BOOL
.
The Boolean
type was not recognized by VB6's Object Browser. The VARIANT_BOOL
is the exact equivalent to a VB6's Boolean
data type. The BOOL
was recognizes as Long
data type in VB6.
精彩评论