Hi Folks,
I'm trying to read MUI strings from DLL.
It's the purpose of the SHLoadIndirectString function.
I'm trying this kind of code
Local $data = "@%SystemRoot%\System32\SysClass.Dll,-3001"
Local $indata = DllStructCreate("char[" & StringLen($data) + 1 & "]")
DllStructSetData($indata, 1, $data)
$rc = DllCall("Shlwapi.dll", "int", "SHLoadIndirectString", _
"ptr", DllStructGetPtr($indata), _
"ptr", DllStructGetPtr($indata), _
"int", StringLen($data), _
"int", 0)
MsgBox(0,"", $indata)
But with no success.
Any idea ?
Thanks !