Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing an array by reference to a .NET .dll
Message
From
08/04/2008 11:42:56
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
01309001
Message ID:
01309034
Views:
18
>Hi David:
>
>Use the function CLRCreateArray as
>
>oArray = CLRCreateArray(tcType, tnDim1, tnDim2)
>
>To create your array in VFP.

>Fill it using
>
>oArray.SetValue(teVal, tnIndex)
>
>
>And just pass it to your method it will have the new data if your method modifies the array.

In my case, I don't think I'll need to do this, as the array will be passed empty and the .dll will fill it. How many elements will the array be initialized with under this - zero or one?

David
David M. Stowell
Ravenslake Consulting
Chicago, Illinois

e-mail: davidstowell@ravenslakeconsulting.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform