I have an .inf
file exported from Resource Hacker. The file is in UTF-16 LE encoding.
EXTRALARGELEGENDSII_INI TEXTFILE "Data.bin"
LARGEFONTSLEGENDSII_INI TEXTFILE "Data_2.bin"
NORMALLEGENDSII_INI TEXTFILE "Data_3.bin"
THEMES_INI TEXTFILE "Data_4.bin"
When I load it using the LoadStringFromFile
function:
procedure LoadResources;
var
RESOURCE_INFO: AnsiString;
begin
LoadStringFromFile(ExpandConstant('{tmp}SKINRESOURCE - INFO.inf'), RESOURCE_INFO);
Log(String(RESOURCE_INFO));
end;
I am getting this in the Debug Output:
E
Please tell me how to fix this issue.
Thanks in advance.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…