>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.