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

Reading number is top 10 articles
在asp.net2.0中使用存储过程_[Asp.Net教程]
ASP.NET2.0中控件的简单异步回调_.net资料_编程技术
C#将指定网页添加到收藏夹的方法_[Asp.Net教程]
asp程序页面出现超时已过期问题_mssql学习_编程技术
C#教程:保护注册表
UNIX设置MySql数据同步,实现复制功能_php资料_编程技术
Web.config简要配置说明_[Asp.Net教程]
GMap谷歌地图实现代码_[Asp.Net教程]
十六 有害的标签 Bad Tags_[Html教程]
ASP.NET从零起步设计网站全过程(4)_[Asp.Net教程]
Reading number is top 10 pictures
漂亮脸蛋魔鬼身材2
A man's favorite things16
张家界的玻璃桥
到南昌西站了1
From China fortress sora aoi5
关于海盗的研究
奇趣的世界记录1
Green sweet joey wong young old photos exposure
Hunan province aizhai super-large suspension bridge open to traffic and 4 world first1
夕阳下的北京街道
Download software ranking
Sora aoi, the maid, students' uniforms
Eclipse 4.2.2 For Win64
美女游泳记
C#与.NET技术平台实战演练
linux高级编程
Sora aoi - one of more PK
Dance with duck(male prostitution)
I'm come from Beijing2
1400篇各类破解文章
Boxer vs Yellow2
aaa published in(发表于) 2014/7/19 0:13:17 Edit(编辑)
delphi获取当前目录

delphi获取当前目录

delphi获取当前目录|GetCurrentDirectory()函数

获取当前目录

要获取当前目录的位置,即应用程序的执行目录,可以调用Win32 的GetCurrentDirectory()函数。

该函数的用法与GetSystemDirectory()、GetWindowsDirectory()相似,所不同的是,参数的顺序刚好相反。下面的示例代码演示了GetCurrentDirectory()的用法。

procedure TForm1.Button1Click(Sender: TObject);

var

CurrDir:String;

begin

SetLength(CurrDir,144);

if GetCurrentDirectory(144,(PChar(CurrDir)))<>0 then

begin

SetLength(CurrDir,Length(PChar(CurrDir)));

Edit1.Text:=CurrDir;

end

else

RaiseLastWin32Error;

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.