Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameters by reference to an activeX control
Message
De
30/09/2002 09:26:47
 
 
À
29/09/2002 17:03:25
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00704244
Message ID:
00705876
Vues:
12
Hi, All !

The same error occurs.
The method expect a numeric variable.
The variable probably will be treated by the control in numeric expressions, i think.

For example , if i do that :

x=100
activex.Method(x) && The error NOT occurs.

activex.Method(@x) && the error occurs.

x2=NumToShort(x)
* Now, x2 is a string.

activex.Method(x2) && The error occurs.
activex.Method(@x2) && The error occurs.

I can not use the DLL-Vb tip, becouse the activeX was developed with c++, i think.And i don't want to use Vb's runtime libraries...

Thanks for ALL !

Lucas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform