hi
pAnsiChar is a Pascal datatype for strings ("Pointer to Array of Ansi Characters"). the first 8 bytes gives the length of the string as an integer, followed by the data as chars. labView can't handle this! there's a labview datatype "LabView string handle": 4 bytes (length as integer) followed by the data as char (quite near, but not the same). maybe you can create a PAnsiChar with typecasts to U8-Array and pass this array via "adapt to type" to your dll.
good luck!
chris
Best regards
chris
CL(A)Dly bending G-Force with LabVIEW
famous last words: "oh my god, it is full of stars!"