
Delphi
iteye_15361
这个作者很懒,什么都没留下…
展开
-
Windows Vista for Developers——第四部分:用户帐号控制(User Acc
作者:Kenny Kerr 翻译:Dflying Chen 原文:http://weblogs.asp.net/kennykerr/archive/2006/09/29/Windows-Vista-for-Developers-_1320_-Part-4-_1320_-User-Account-Control.aspx 请同时参考《Windows Vista for Deve...原创 2008-08-15 15:29:14 · 281 阅读 · 0 评论 -
Elevate through ShellExecute
We often get the question how to elevate a process through ShellExecute. From the docs it is not immediately clear. The trick is passing in "runas" in the lpVerb. Here is a snippet to run notepad ...原创 2008-08-15 15:37:45 · 161 阅读 · 0 评论 -
ShellExecute与ShellExecuteEx的用法
Q: 如何打开一个应用程序? ShellExecute(this->m_hWnd,"open","calc.exe","","", SW_SHOW );或 ShellExecute(this->m_hWnd,"open","notepad.exe","c:\\MyLog.log","",SW_SHOW );正如您所看到的,我并没有传递原创 2008-08-15 16:02:34 · 342 阅读 · 0 评论 -
Delphi程序中使用自带字体
initialization AddFontResource(PChar(dirAppRoot + 'XXXXX.TTF')); finalization RemoveFontResource(PChar(dirAppRoot + 'XXXXX.TTF'));2008-08-17 00:35:58 · 1306 阅读 · 0 评论