What happens when you transform the result into a string?
resultString = TRANSFORM(GetReaderName(0, @ReaderName, @NameSize))
WAIT WINDOW resultString
>DECLARE LONG GetReaderName IN eVehicleRegistrationAPI.dll long index, string @ReaderName, long @NameSize
>
>RederName = SPACE(256)
>NameSize = 0
>
>a=GetReaderName(0, @ReaderName, @NameSize)
>
>wait wind (a)
>
>produces as result ****
----------------------------------
António Tavares Lopes