Re: Crash when passing a pointer of an initialized U8 array to my dll file.

2004-04-20 Thread LarsRoe
It's because the array is not set up like the standard C array. Read Using External Code in LabVIEW in LabVIEW's help. Also, if you right-click on the Call Library Node and select the option to create a header file, the header file will show the data structure more clearly.

Crash when passing a pointer of an initialized U8 array to my dll file.

2004-04-18 Thread Wayne Si
I need to pass the pointer of an initialized 1D array of U8 type to my Dll file. At first, I set the length of the 1D array and initialized it. Then I configured the Call Lib Node and made the input parameter as 1D Array Pointer of U8 type. The prototype of the called function in my Dll file is: