2017年9月20日 星期三

[MFC]error C2065, error C2061, error C2039(wrong platform Toolset)

[cid:image002.png@01D33235.87963520]

12 IntelliSense: identifier "TP_CALLBACK_PRIORITY_NORMAL" is undefined c:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h 19601 41 MFCWLog
10 IntelliSense: identifier "TP_CALLBACK_PRIORITY" is undefined c:\Program Files (x86)\Windows Kits\8.1\Include\um\WinBase.h 7178 13 MFCWLog
11 IntelliSense: identifier "TP_CALLBACK_PRIORITY" is undefined c:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h 19542 5 MFCWLog
13 IntelliSense: identifier "TP_CALLBACK_PRIORITY" is undefined c:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h 19684 13 MFCWLog
Error 2 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files (x86)\windows kits\8.1\include\um\winnt.h 19542 1 MFCWLog
Error 1 error C2146: syntax error : missing ';' before identifier 'CallbackPriority' c:\program files (x86)\windows kits\8.1\include\um\winnt.h 19542 1 MFCWLog
Error 4 error C2065: 'TP_CALLBACK_PRIORITY_NORMAL' : undeclared identifier c:\program files (x86)\windows kits\8.1\include\um\winnt.h 19601 1 MFCWLog
Error 7 error C2065: 'Priority' : undeclared identifier c:\program files (x86)\windows kits\8.1\include\um\winnt.h 19687 1 MFCWLog
Error 9 error C2065: 'Priority' : undeclared identifier c:\program files (x86)\windows kits\8.1\include\um\winbase.h 7181 1 MFCWLog
Error 5 error C2061: syntax error : identifier 'TP_CALLBACK_PRIORITY' c:\program files (x86)\windows kits\8.1\include\um\winnt.h 19684 1 MFCWLog
Error 8 error C2061: syntax error : identifier 'TP_CALLBACK_PRIORITY' c:\program files (x86)\windows kits\8.1\include\um\winbase.h 7178 1 MFCWLog
Error 3 error C2039: 'CallbackPriority' : is not a member of '_TP_CALLBACK_ENVIRON_V3' c:\program files (x86)\windows kits\8.1\include\um\winnt.h 19601 1 MFCWLog
Error 6 error C2039: 'CallbackPriority' : is not a member of '_TP_CALLBACK_ENVIRON_V3' c:\program files (x86)\windows kits\8.1\include\um\winnt.h 19687 1 MFCWLog


設錯platform Toolset
[cid:image001.png@01D33234.AE844AB0]


設回來就好
[cid:image003.png@01D33235.CAB10290]
________________________________________ 3S CONFIDENTIALITY NOTICE: This message and all attachments may contain legally privileged and confidential information. Any unauthorized review, use or distribution by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please contact the sender immediately by replying to the message and delete all copies. Thank you.

沒有留言:

張貼留言