Hi,
I have an issue combining a String type with an array of wchar.
The WIN32_FIND_DATAW structure has a property called cFilename of type array[MAX_PATH] of WCHAR and in my application I have a variable L_Path of type String.
The cFilename property contains a Non-English Unicode filename and I need to build the complete path :
L_Path := IncludeTrailingPathDelimiter(L_Path) + L_WIN32_FIND_DATAW.cFileName
This results in an "Implicit string type conversion with potential data loss from "WideString" to "AnsiString" .. I can confirm that the result is wrong.
How can I combine both without data loss ?
Many thanks,
Romain