Information générale
Catégorie:
COM/DCOM et OLE Automation
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement