Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BSTR and Variant
Message
De
20/03/2001 16:06:02
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00484560
Message ID:
00487013
Vues:
13
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform