Get Windows Temporary Folder
If you need to get windows temporary folder for your application you need to follow this steps.
function GetTempDirectory: String;
var
TempDir: array[0..255] of Char;
begin
GetTempPath(255, @TempDir);
Result := StrPas(TempDir);
end;
procedure TForm1.BitBtn1Click(Sender: TObject);
begin
label1.Caption := gettempdirectory;
end;
Download Source Code
DIZipWriter is a Delphi component to create PKZip-compatible...
TntWare controls allow you to develop applications that ta...
You can minimize all windows with this code snippets. ...
AnimationEffect component will add a smooth and extremely co...
Enhanced analog of a standard TPanel component for Delphi. S...
Tuesday 20 Feb 2007 | Delphi Tutorial | Files, System