在我使用 WTL - Visual Studio 9 中的对话框向导创建了一个普通对话框之后,我已经包含了<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