Dear All,
I compiled a few DLLs in LabVIEW and called these DLLs using C#.
I'm having difficulty in passing in strings and arrays as input and output of the DLL.
Whenever i try to show the string i input in a dialog box(This part is written in LabVIEW DLL), a LabVIEW message dialog would appear and the program just stucked there.
Whenever i try to input a string or an array to the DLLs, Microsoft Visual Studio would display "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
I attach the vi's and also the C# .sln file.
Can you guys please advise where did i go wrong?
Thank you very much.