Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Com property of type BOOL
Message
From
06/07/2002 15:33:58
 
 
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:
00675886
Views:
17
>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.
>
>Regards

BOOL type is mapped to char (byte) in VC++.

See:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconplatforminvokedatatypes.asp

HTH
Zlatin Zlatev,
MCSD (VS6)

Make solutions, not programs!

Previous
Reply
Map
View

Click here to load this message in the networking platform