摘要: MSDN:DWORD WINAPI GetLogicalDriveStrings( __in DWORD nBufferLength, __out LPTSTR lpBuffer);对着msdn上的例子,写了个test出来: 1 #include "iostream" 2 #include "afxcmn.h" 3 4 int main() 5 { 6 7 TCHAR *pLogicalDrives = new TCHAR[MAX_PATH]; 8 pLogicalDrives[0] = '\0'; 9 int nLen... 阅读全文
posted @ 2012-11-21 12:06 褪色的狼 阅读(419) 评论(1) 推荐(0) 编辑
摘要: 部分输出:Done Searching Librariesnafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadexnafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadexDebug/test.exe : fatal error LNK1120: 2 unresolved externalsÖ´ÐÐ link.exe Ê 阅读全文
posted @ 2012-11-21 11:02 褪色的狼 阅读(350) 评论(0) 推荐(0) 编辑