Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameters by reference to an activeX control
Message
From
30/09/2002 09:26:47
 
 
To
29/09/2002 17:03:25
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00704244
Message ID:
00705876
Views:
11
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform