问题一,_T 未定义 解决: 包含如下头文件 #include <tchar.h> 问题二,添加lib 解决: 方法1 menu Project --> Properties (bottom item of the popup menu) -->expand the Configuration Properties tab --> Linker --> Input. The first line on the right side is "Additional Dependencies". Add the name of the library there. 未完待续。。。
方法2
把下面的代码加入相应 *.cpp 文件顶端#pragma comment(lib, "ole32.lib")
本文介绍了在编程过程中遇到的_T未定义错误及如何通过包含特定头文件解决此问题,并提供了两种添加库文件的方法,帮助开发者有效解决链接库问题。

4207

被折叠的 条评论
为什么被折叠?



