Here you work with AnsiChar:
Call is correct:
Delphi-Quellcode:
var
Buffer: array [0..1023] of Char;
begin
Caption := DIE_versionW;
DIE_scanW('C:\Windows\notepad.exe', Buffer, SizeOf(Buffer), DIE_SHOWOPTIONS or DIE_SHOWVERSION);
ShowMessage(StrPas(Buffer));
end;
Otherwise compiler tell me that types must be compatible.
Somebody has used this
DLL?