delphi getSys32Path()得到系统System32路径


本文整理自网络,侵删。

 


{得到系统C:\Windows\system32 路径}
//调用 Edit1.text:=getSys32Path();
function getSys32Path():string;
var
  sPath : PCHAR ;
begin
     GetMem(sPath,255);
     GetSystemDirectory(sPath,255);
     Result := sPath;//C:\Windows\system32
end;

相关阅读 >>

Delphi 处理链接和文件路径结尾\和/

Delphi 10分钟10行代码开发app(Delphi 应用案例)

Delphi ticon保存ico文件时失真的解决办法

Delphi xe6 实现ping的功能

Delphi string与tstringlist

Delphi 网址链接结尾自动补/

Delphi 双击richedit高亮所有关键字

embarcadero开源项目赞助

Delphi streamtohexstr

Delphi 10.3 调试程序时出错:unable to create process:请求的操作需要提升

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...