11-01-2007 02:00 PM
11-01-2007 02:55 PM
11-01-2007 04:46 PM
11-01-2007 05:04 PM
When you are providing a U8 Array as the input to a DLL call which is supposed to return a string, you need to preallocate memory for the array. For example, if you know your string will be no longer than 256 bytes, you need an array with 256 elements in it passed into the DLL call.
@Nick111 wrote:
2. Changing the string to an Array of Unsigned 8-bit Integers which caused an empty array to be received from the DLL
11-01-2007 05:55 PM
11-02-2007 08:50 AM
11-02-2007 10:48 AM
Travis
Both the Memory Manager help topic and the 'Passing a Variety of Data Types from DLL to LabVIEW' example were excellent!
Thanks
Nick