Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pass Vfp Object to a DCOM server ?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Pass Vfp Object to a DCOM server ?
Divers
Thread ID:
00399459
Message ID:
00399459
Vues:
58
Hi All,

I'm Trying to Pass a Vfp Object to a Dcom application as a parameter.
It receives the object well but i can't get values from it's property ?

Ex:

oParam = CreateObject("Custom")
oParam.Addproperty("Param1",0)
oParam.Addproperty("Param2","Allo")

x = CreateObjectEx("MyDcom.Main")
? x.MyFunction(oParam)


*******************************
MyFunction
*******************************
Lparameters toParam
Local llRet
llRet = .F.
IF VARTYPE("toParam") = "O"
IF toParam.Param1 = 0 and !Empty(toParam.Param2)
llRet = .T.
ENDIF
ENDIF
RETURN llRet
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform