How to use strings and dynamic array in DLL.
I am using delphi to create this DLL.I have seen the examples in the Labview DLL(Hostname.vi).but that DLL
was created in C/C++.Same application i tried in Delphi.Here I passed the string parameter as pascal pointer to string.
But by doing so Labview is crashing.May be i am not using properly. In the example(Hostname.vi) they passed the handle to the string and they used DSSetHandlesize function to set the size of the string.How to use these things in pascal(passing string handle and using dssethandlesize function).i will be very greateful if any one can convert the same (Hostname.vi) C Dll to Delphi DLL.