LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pass an array of strings to a Visual C dll

I have to pass an array of strings to a Visual C dll. The array is obtained by the build array function in Labview 7.1. The problem is that the strings in the dll are wrong: at the end of each string there are some additional and undesidered character.
Can anyone help me ?
0 Kudos
Message 1 of 3
(2,647 Views)
Filippo;

Could you provide more information on how are you building the array in LabVIEW? You can take a snapshot of your diagram and post it.

Also, check the following article:Passing a Variety of Data Types from DLL to LabVIEW.

Regards;
Enrique
www.vartortech.com
0 Kudos
Message 2 of 3
(2,641 Views)
Thank you Enrique and sorry for my english.
When I pass to the dll an array of strings with the same length, the strings in the dll are correct.
There is a problem when I pass an array of strings with different lenght (see attachment ViAndDll.jpg).

Regards,
Filippo
0 Kudos
Message 3 of 3
(2,632 Views)