getWindowsDir: string;
begin
SetLength(Result, MAX_PATH);
GetWindowsDirectory(PChar(Result), Length(Result));
end;
----- Original Message -----
From: "gajo" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Sunday, November 19, 2000 1:38 AM
Subject: [DUG]: Windows directory path
> How can I get the Windows directory path in a STRING format?
>
> Csaba
>
> --------------------------------------------------------------------------
-
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
>
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"