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 x 的 y 次方

Delphi实现百度地图经纬度与地址互转

Delphi xe8在firemonkey tlistbox中显示图像

Delphi 之 trichedit组件

Delphi downloadtomemory

Delphi firemonkey的屏幕分辨率hdpi、mdpi、ldpi的差别

Delphi xe6新增特性及功能

Delphi 几个日期操作

Delphi tdictionary保存到文件

Delphi 程序重新启动自身

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



打赏

取消

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

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

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

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

评论

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