General information
Category:
COM/DCOM and OLE Automation
Title:
How I get a Variant from COM
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only