Hi,
I need to pass a multidimensional string array to DLL, dispose the content of the string array, resize the string array, fill it and return it to LabVIEW. I pass the string array to DLL as adapt to type. The first problem seems to be that I cannot get the content of the old string array disposed. How should one releas memory to an array of strings. I assume that each string handle must be released separately in order to avoid memory leaks.
In addition I cannot get the string array resized and filled. How should one resize a string array in a DLL. For some reason the array is not filled either but I haven't debugged that far yet because of the previous problems.
I want to use the same function for string arrays of various dimensionality, that's why I dont't have struct typedef telling exact form of the string array struct below. I'm using Win XP, LV 8.0.1 & Visua Studio .NET 7.1.
A stripped down version of my function as well as a block diagram and call library function configuration are attached.
--
Tomi Maila