我已經在64位Windows 7安裝了Visual Studio 2012,並試圖建立MFC項目,但在第一次調試總是出現錯誤:C++ Visual Studio 2012錯誤C3861:'_T':找不到標識符?
Error 1 error C3861: '_T': identifier not found c:\program files (x86)\microsoft visual studio 11.0\vc\atlmfc\include\atlexcept.h 66
Error 3 error C3861: '_T': identifier not found c:\program files (x86)\microsoft visual studio 11.0\vc\atlmfc\include\atlcomcli.h 556
Error 4 error C3861: '_T': identifier not found c:\program files (x86)\microsoft visual studio 11.0\vc\atlmfc\include\atlcomcli.h 589
...
如果這些_T宏已被定義?爲什麼出現這些問題?
您只需#包括 –
goGud
這裏你的意思是把#包括如果錯誤出現在頭文件...? –
tonni
將它包含在頭文件中。 – goGud