General information
Category:
Visual FoxPro and .NET
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only