本文整理自网络,侵删。
//获取操作系统安装磁盘盘符 delphitop.comfunction GetSysDisk: String;vars: PChar;beginGetMem(s,255);GetSystemDirectory(s,255);Result := Copy(s,1,1)+':\';FreeMem(s);end;
相关阅读 >>
Delphi2010 关于record类型rtti反射的用途和方法
Delphi enumwindows回调函数获取qq2009窗体句柄
Delphi fdconnection1.gettablenames 查看所有表包含用户表和系统表
Delphi tfilestream和tmemorystream分别读取、创建、合并文件
更多相关阅读请进入《Delphi》频道 >>