I need help passing a 2d array (matrix) from VB6 to a c++ DLL.
Right now, I have it working with a 1d array... here is the code I am using.
long __declspec (dllexport) __stdcall function_name(byte *1dArray,long lElements)
{
//lElements is how big the array is
//do something in here
}
What would I have to modify that to to have it accept 2d arrays?
Right now, I have it working with a 1d array... here is the code I am using.
long __declspec (dllexport) __stdcall function_name(byte *1dArray,long lElements)
{
//lElements is how big the array is
//do something in here
}
What would I have to modify that to to have it accept 2d arrays?