Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stateless Biz Objects Question
Message
De
06/01/2000 15:19:07
 
 
À
06/01/2000 08:35:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00313483
Message ID:
00314100
Vues:
58
Got it - thanks Craig

Do you think that XML will be the preferable parameter mechanism? While it is no big deal to build parsers in VFP, I would imagine that using MSXML would offer more flexibility.

>- Create an object with properties for all the values you need. Let's call it oProp.
>oProp = CREATEOBJECT("PropertyObject")
>
>- Pass oProp as a parameter to the COM server. Let's say it uses toProp as the variable to receive the parameter.
>oCom = CREATEOBJECT("ComServer")
>oCom.Method(oProp)
>
>- In the COM server, set the values of the properties in oProp.
>LPARAMETERS toProp
>* Do some processing
>toProp.Property1 = This.SomeValue1
>toProp.Property2 = This.SomeValue2
>toProp.Property3 = This.SomeValue3
>RETURN
>
>- Now you can query the values in oProp
>? oProp.Property1
>? oProp.Property2
>? oProp.Property3
- Jeff
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform