Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing a variant to an ActiveX
Message
From
20/01/2003 09:27:08
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00743438
Message ID:
00743449
Views:
11
Thanks for the reference, Sergey. If the control was built using the MFC, I am stuck, since I can't change it. Do you think it may be possible to use some sort of C++ program to pass things back and forth here? Do you or anybody already have such code?

Thanks,

Alex

>Take a look at PRB: ActiveX Controls Passing Variant* Back to VFP Cause Error mskb #Q177575.
>
>>Hi,
>>
>>I am making a call to a method of an ActiveX object (Spread 6.0 by FarPoint) that calls for two numeric and one variant parameter (which is used to return the result) but it results in a "Type mismatch" error. Other calls that required numeric parameters did OK, so I suspect the variant. I thought all VFP variables were variants in this context. Any suggestions?
>>
>>TIA,
>>
>>Alex
Previous
Reply
Map
View

Click here to load this message in the networking platform