Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Com property of type BOOL
Message
 
To
06/07/2002 06:58:05
Marco Beuk
Innovero Software Solutions
The Hague, Netherlands
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00675818
Message ID:
00676017
Views:
21
>I have a simple com-object with a property of type BOOL
>When i create the object from within vfp and read that property vfp returns a value of type numeric.
>Why doesn't vfp translate the value, given back from com, to logical?
>I can also set that property using a logical or numeric value.

The BOOL data type (4 bytes size) is not compatible with OLE automation. The "boolean" data type in OLE automation corresponds to VARIANT_BOOL data type (2 bytes size).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform