Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameter Type Mismatch
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00937121
Message ID:
00938534
Views:
13
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform