Jump to content

Recommended Posts

Posted

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 !

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...