Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameter Type Mismatch
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00937121
Message ID:
00938534
Vues:
14
Thank you for your help but unfortunately none of these options alleviated the error. If you or anyone else has any other suggestions please send them my way. Thanks again.

>Hi Sam,
>
>The Null literal doesn't have a type. Try to create a variable of object type and pass it to a COM.
loNullObj = CRREATEOBJECT("Label")
>loNullObj = Null
>...
>
If it doesn't work, try to pass 0 (zero).
>
>>I have a created an instance of a C++ COM component in my VFP command window. I then try to call a function that accepts a string and an object but when I try to send .NULL. to the second parameter, which accepts an object, I get a Type Mismatch error. Why is .NULL. not an acceptable value for this parameter? Thanks for any help.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform