Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BSTR and Variant
Message
From
20/03/2001 16:06:02
 
 
To
13/03/2001 14:36:00
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00484560
Message ID:
00487013
Views:
12
>When calling a method in an ActiveX control built with Microsoft Foundation
>Classes (MFC), if there is an out parameter in the method with a type
>variant, Visual FoxPro returns a type mismatch error.
>
>http://support.microsoft.com/support/kb/articles/Q177/5/75.ASP
>
>Has someone an workaround ?
>
>achim huber

Hello achim,

When I got this problem, I din't bother looking around for a solution in the kb, I decided to pass my info as a string (by reference) and use a switch...case in my C++ method to convert my string data to another type and back. Your code will pretty much stay the same, it's just the parameter passing to the method that changes...

Stephane.
Previous
Reply
Map
View

Click here to load this message in the networking platform