Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems passing arrays...
Message
From
01/02/2002 09:24:19
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
00613549
Message ID:
00613964
Views:
24
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform