Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Visual Studio 2010 中创建了新的 ATL\WTL 项目。
我在下面有红线CAppModule,CMessageLoop 等等。有错误
CAppModule
CMessageLoop
标识符未定义
如何解决?
您需要包含正确的标题。例如CAppModule定义在atlapp.h所以你需要#include <atlapp.h>.
atlapp.h
#include <atlapp.h>