Hi,
I need to pass a two dimensional array from VB.NET to a C DLL
function. The prototype for the C function is as follows:
int _stdcall myFunction (int **matrix)
I have created an array in VB as
Dim t(2,2) As Integer and initialized. Please let me know how to do
this..
Thanks
vaum - 30 Nov 2004 15:25 GMT
> Hi,
>
[quoted text clipped - 9 lines]
>
> Thanks
Hi,
I have created the dll and used the declare statement as
Declare Function TestArraysOfInts Lib "DemoDll.dll" ( _
ByRef myArray(,) As Integer, ByVal row As Integer) As Integer
But when I call this function it gives a null reference exception. I
need to be able to pass the array to dll and receive the changes made
by dll in VB.NET..Please help..
Thanks in Advance