Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Object in nTier
Message
 
À
14/03/2003 06:10:34
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00765756
Message ID:
00766251
Vues:
25
Direct Array parameters don't work well over COM because VFP formats these things in ways that are difficult for COM to handle. However, you can wrap arrays into properties of objects and pass them around pretty easily that way...

This also works for things like .Net COM objects which can't pass arrays to VFP, but can as object properties.

+++ Rick ---


>I am converting a single tier application into nTier, it needs to work as a "local" application and also accross a WAN using COM+
>
>I had been working on the theory of DataObjects passed back and forth (I originally tried DCOM) and obviously it need to be stateless.
>
>My problem is that my DataObject contains arrays, They are lists of charges and a log of changes. I now have a problem with arrays across COM objects and Arrays into XML for the COM+
>
>How do I either i) pass arrays (as properties of an object) accross COM or ii) how else do I store "lists" of data?
>
>Any help gratefully recieved!
>
>
>Gary Williams
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform