书法字典:https://www.shufadict.com

2010年8月17日

获取指定目录

摘要: 如何获取常用的目录,比如 Document and Settings,temp,Cookies等等,可以使用下面这个函数。 SHGetKnownFolderPath for more detail about this function, see here 阅读全文

posted @ 2010-08-17 10:36 翰墨小生 阅读(155) 评论(0) 推荐(0) 编辑

获取程序所在目录

摘要: DWORD retval = GetModuleFileName(NULL, buf, bufsize); 阅读全文

posted @ 2010-08-17 10:34 翰墨小生 阅读(144) 评论(0) 推荐(0) 编辑

判断文件是否存在(C Version)

摘要: code from OgreFor more about _access, see the MSDN link herehttp://msdn.microsoft.com/en-us/library/1w06ktdy(VS.80).aspx 阅读全文

posted @ 2010-08-17 10:30 翰墨小生 阅读(708) 评论(0) 推荐(0) 编辑

导航

书法字典:https://www.shufadict.com