Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameters by reference to an activeX control
Message
 
 
À
25/09/2002 10:45:21
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00704244
Message ID:
00705707
Vues:
10
If nothing else works, you can try to write wrapper DLL in VB.

>Hi every one !
>
>When a try to pass values by reference to a third part component, who expected that, the folow error occurs :
>
>Type Mismach
>
>The component activeX expect 16-bit integer values by reference.
>
>What i'm doing :
>
>v1=100
>v2=100
>activeXcomponent.Method(@v1,@v2)
>
>The error occurs.
>
>When i do the folow :
>
>activeXcomponent.Method(v1,v2)
>
>
>Without referces, the error NOT occurs, i mean, the type of variables seams to be correct. The problem is about THE reference.
>
>I check the Component's type library , and the type of parameters are
>VT_PTR.
>
>What's happenig ?
>
>Thank's to all.
>
>
>Lucas.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform