在头文件中加上:
然后出现如下错误:
error C2065: '_lpw' : undeclared identifier
error C2440: '=' : cannot convert from 'unsigned short [1024]' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
解决方法是加上以下代码:
error C2065: '_convert' : undeclared identifier
本文介绍在包含atlbase.h头文件时遇到的编译错误及解决方案。错误包括未声明标识符和类型转换问题。通过加入USES_CONVERSION宏可以解决这些问题。
772

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



