Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How I get a Variant from COM
Message
From
09/11/2004 08:28:37
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
How I get a Variant from COM
Miscellaneous
Thread ID:
00959511
Message ID:
00959511
Views:
46
Hi all,
I work with the COM DLL (that was written by C++) and must get any parameter that define as Variant.But it doesn't work.My code:

PUBLIC oMATerminal as 'ACTIVEMAI.IMATerminal'
LOCAL __ipadress as variant

oMATerminal = CREATEOBJECT("ACTIVEMAI.MATerminal")

oMATerminal.GetParam( "IPADRESS", __ipadress) or
oMATerminal.GetParam( "IPADRESS", @__ipadress)

I doesn't receive in __ipadress value.
Another functions are working succesfuly.
I tried to define string or integer,but it doesn't work anyway.

But when I do it in VB it is work correctly.

Thanks.
Reply
Map
View

Click here to load this message in the networking platform