Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Com property of type BOOL
Message
 
À
06/07/2002 06:58:05
Marco Beuk
Innovero Software Solutions
The Hague, Pays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00675818
Message ID:
00676017
Vues:
20
>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).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform