Jim Coleman
February 25th, 2000, 12:41 AM
Hi,
I am trying to call a C/C++ function contained in a DLL. Most of the required C parameters are vectors and matrices. I have tried many alternatives, but when I debug the DLL the VB arrays are not getting passed through to C.
This is not an issue (as far as I know) of decorated names or mangling, the DLL and its exported function is located OK.
I have defined the VB side as " ... ByRef myArray() as double", and the C side as "double *myArray".
If anyone knows how to overcome this it would be much appreciated.
Thanks.
I am trying to call a C/C++ function contained in a DLL. Most of the required C parameters are vectors and matrices. I have tried many alternatives, but when I debug the DLL the VB arrays are not getting passed through to C.
This is not an issue (as far as I know) of decorated names or mangling, the DLL and its exported function is located OK.
I have defined the VB side as " ... ByRef myArray() as double", and the C side as "double *myArray".
If anyone knows how to overcome this it would be much appreciated.
Thanks.