Einzelnen Beitrag anzeigen

WojTec

Registriert seit: 17. Mai 2007
482 Beiträge
 
Delphi XE6 Professional
 
#3

Re: AW: Problem with DLL in Delphi

  Alt 21. Aug 2014, 16:09
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?
  Mit Zitat antworten Zitat