All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
ASP.NET日历控件二次开发和使用_[Asp.Net教程]
SQL Server安装挂起错误解决方式_[SQL Server教程]
PHP的内码转换函数,mb_convert_encoding
网页中添加新浪天气预报的几种方法_[Asp.Net教程]
中英文对照学习认识一下XML语言_[XML教程]
温故知新ASP.NET,2.0(C#)(8),-,DataSourceControl(数据源控件)_[Asp.Net教程]
事半功倍之javascript(3)_JavaScript技术_编程技术
SQL Server 2005数据库升级技巧_[SQL Server教程]
如何使用SQL Server数据库查询累计值_[SQL Server教程]
SQL游标原理和使用方法_mssql学习_编程技术
Reading number is top 10 pictures
Valentine's day comes, send some cartoon
漂亮脸蛋魔鬼身材2
这才是真正的人体艺术3
Ashlynn Brooke a group sexy photo1
教你做读书笔记
治疗多发性骨髓瘤的特效药,一万二一支
Look for from human art net, is good--3
Poor doll, hand job was caught the currently in effect by his dad
美女挤公交
西游日记1
Download software ranking
Boxer's Top ten classic battle5
Unix video tutorial18
Boxer's Top ten classic battle6
C语言教程TXT
SP3 for SQL2000
Call Of Duty5
Tram sex maniac 2 (H) rar bag3
Eclipse 4.2.2 For Win64
matrix3
asp.net技术内幕
aaa published in(发表于) 2014/7/19 0:13:11 Edit(编辑)
delphi获取System目录

delphi获取System目录

delphi获取System目录|GetSystemDirectory函数

获取System 目录

获取System 目录只需要用一个Win32 函数就能够实现,此函数为GetSystemDirectory,它的原型如下:

UINT GetSystemDirectory(

LPTSTR lpBuffer, //变量

UINT uSize //变量大小

);

(1)新建一个项目,向窗体上添加一个Edit 组件和一个Button 组件,并设置Button 组件的Caption 属性为“获得”。

(2)为“获得”按钮编写代码。

procedure TForm1.Button1Click(Sender: TObject);

var

MySysPath:PChar;

begin

GetMem(MySysPath,255);

GetSystemDirectory(MySysPath,255); //取得系统目录

Edit1.Text:=MySysPath;

end;




添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.