在我使用wizard 9中的dialog向导创建了一个普通对话框之后,我已经包含了<atltime.h>头,我得到了以下内容:
Error 2 error C2039: 'CString' : is not a member of 'WTL' ...\wtl\include\atlctrls.h 5060 TASKSCHEDULER
Error 3 error C2039: 'CString' : is not a member of 'WTL' ...\wtl\include\atlctrls.h 969 TASKSCHEDULER
Error 4 error C2039: 'CString' : is not a member of 'WTL' ...\wtl\include\atldlgs.h 535 TASKSCHEDULER
Error 5 error C2039: 'CString' : is not a member of 'WTL' ...\wtl\include\atldlgs.h 627 TASKSCHEDULER
Error 6 error C2039: 'CString' : is not a member of 'WTL' ...\wtl\include\atldlgs.h
697 TASKSCHEDULER发布于 2015-11-25 09:09:07
我也面临着类似的情况,有两件事帮助我摆脱了错误,也许是对别人的帮助。
atlstr.h包括在atlapp.h之上_WTL_NO_CSTRINGhttps://stackoverflow.com/questions/13689699
复制相似问题