Function parameter is the problem:
function GetAdminSID: String;
function GetAdminSID: String;
To copy to clipboard, switch view to plain text mode
becouse I changed:
function GetAdminSID: PChar;
function GetAdminSID: PChar;
To copy to clipboard, switch view to plain text mode
Everything works fine.
but unfortunately, this DLL is already in use. So I would not change. This version should I use:
function GetAdminSID: String;
function GetAdminSID: String;
To copy to clipboard, switch view to plain text mode
Is idea someones of the declaration I how to change?
extern "C" { typedef char*(__stdcall * PGetAdminSID)(); }
extern "C" { typedef char*(__stdcall * PGetAdminSID)(); }
To copy to clipboard, switch view to plain text mode
Thanks!
Hi!
Bookmarks