Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems passing arrays...
Message
De
01/02/2002 09:24:19
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
00613549
Message ID:
00613964
Vues:
23
>I have a custom VFP COM server. This have a method (GetConfig(@laConfig))
>This method take a array and build other array with the config info. This server run for a normal windows VFP applications and need run for a ASP.NET application. I call this component from a VB.NET Component (DLL), and generate the stub for the com server(he force it). But i have this problems:
>
>1- The stub NOT show me that i have a parameter, the method is:
>
>PROCEDURE GetConfig
>lParameter laConfig
>END PROC
>
>This server need in several places return/set arrays. So, how fix it?
>
>2- In VB.NET,the arrays is zero-based (like Delphi, C++, etc...). But VFP have one based array.. Because i don't can run this code, i don't know if exist a problem with it (if yes, exist a workaround?)

Check out the COMARRAY() function. It lets you change the behavior of arrays for a particular object.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform