Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing arrays to .NET and getting arrays back
Message
 
À
02/05/2011 16:36:09
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01509041
Message ID:
01509329
Vues:
57
>You aren't the only one bitten by this array issue. Have you considered passing XML? That's what we do. Occasionally we see a weird glitch (e.g. a space inserted in an inconvenient location) but it's fairly quick and easy enough to debug. It also makes it very easy if you ever move any of your stuff into different layers or servers or need a php interface or whatever.

Actually XML conversion and white space treatment in general is a big problem if you want to maintain data integrity. Real easy to lose carriage returns in strings in particular as XML turns all CR/LF to CHR(10)s which then requires manual fixups. Especially bad for memo type data from databases especially with XmlAdapter/XmlToCursor.

+++ Rick ---
+++ 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