Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How I get a Variant from COM
Message
De
09/11/2004 08:28:37
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
How I get a Variant from COM
Divers
Thread ID:
00959511
Message ID:
00959511
Vues:
47
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.
Répondre
Fil
Voir

Click here to load this message in the networking platform