Hello, Thanks for your message. I do the display in a memo text. I do a debug I see that the retrieve value is not correctly set. If I do a valChar2 = static_cast<const wchar_t*>(sqlite3_column_text16(stmt, colIndex)); where valchar2 is a wchar_t pointer the value is correctly set. But I need to return a char * not a wchar_t . thnaks, Olivier screen copy : https://prnt.sc/vcpuig