本文整理自网络,侵删。
function GetTempDirectory : String;
var
TempDir : array[0..255] of Char;
begin
GetTempPath(255, @TempDir);
Result := StrPas(TempDir);
end;
相关阅读 >>
Delphi 10.3 中安装程序自动升级插件autoupgrader_pro_v5.2
Delphi webbroker standalone 模式下当作一个普通的 webserver 响应静态网页或其它文件的请求
更多相关阅读请进入《Delphi》频道 >>