From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass pascal string pointer to Delphi DLL?

Hi,

 

Do you finally have a solution to your problems?

 

Thanks,

 

Fabrice

0 Kudos
Message 11 of 13
(1,096 Views)

Topic UP,

 

I have the same problem but no solution with previous posts.

 

I've tried to Use Length + convert string to U8 array and Pascal string pointer without success ... any advice ?

0 Kudos
Message 12 of 13
(861 Views)

Hi,

The most common method is to define the DLL function parameters as CStr.When you call the function node,

double click and set the parameters as C String Pointer.As Below

搜狗截图14年07月31日1345_1.png

0 Kudos
Message 13 of 13
(843 Views)