UINT GetSystemDirectory( LPTSTR lpBuffer, // address of buffer for system directory
UINT uSize // size of directory buffer
);
UINT uSize // size of directory buffer
);
解决方案 »
- 组播通信怎么实现?急!!!!
- D7调用TLB文件中的以下过程改如何处理
- 如何指定多网卡机器中的其中一块网卡,又如何获取指定网卡的IP地址
- MDI的奇怪问题!为什么最新的一个子窗体关闭后,其余的子窗体都会出错?
- 熟悉Ehlib的朋友请帮忙看看!
- 如何得到程序explorer.exe的句柄。
- 怎样才能自动给多个控件合理布局?
- [讨论]关于TTimer控件的使用
- 是Ado error的错误吗?垦请大家帮助!!!
- 请问怎么比较date类型数据的大小?
- 高手们救命啊!请问在繁体操作系统下,怎么把简体转换成繁体啊?明天就要交货了,急急急~~~~~~~~~
- 实现 windos的开始菜单的程序, 加实例。紧急需要
WinSystemDir: string;
begin
WinSystemDir := GetWinSystemDir;
//取Windows System 目录
if (Length(WinSystemDir) >= 1) and (WinSystemDir[Length(WinSystemDir)] <> '\')
then
WinSystemDir := WinSystemDir + '\';
end;
var
Path: array[0..255] of Char;
begin
Result := '';
try
GetSystemDirectory(Path, SizeOf(Path));
Result := StrPas(Path);
except
end;
end;
HWND hwndOwner,
int nFolder,
HANDLE hToken,
DWORD dwFlags,
LPTSTR pszPath
);