when data type is string, how can i read data from piapi.dll function?