> In a SubVI I need to call a function contained in a DLL library. This
> function return a string. The get that string I need to provide a C
> string pointer and allocate necessary space for that string. How
> could I build an empty string in a fast way.
Since strings and array of bytes are so similar, use the Initialize
Array node to make an array of lots of zeroes. When cast to a string,
this will be a string full of 0x00. When passed to the DLL, the buffer
will be the right size, and the first byte will be 0x00 or NULL.
Anytime you are building arrays, you should look to use the initialize
array rather than shift registers and build array.
Greg McKaskle