Einzelnen Beitrag anzeigen

1234588

Registriert seit: 14. Jan 2007
Ort: Stuttgart
164 Beiträge
 
#7

Re: [Delphi] ASM => applicationdata

  Alt 6. Mär 2008, 15:15
Delphi-Quellcode:
function GetWindowsDirectory: string;
var
  p: PChar;
  s: String;
begin
  new(p);
asm
  push MAX_PATH
  push p
  call GetWindowsDirectoryA
end;
  result := p;
  dispose(p)
end;
  Mit Zitat antworten Zitat