본문 바로가기

Programming/Win32 & MFC

[Error] error C2760: syntax error: unexpected token 'identifier', expected 'type specifier'

프로젝트 Properties -> C/C++ -> Language -> Conformance mode를 Yes에서 No로 변경하면 된다.

관련 링크 : https://developercommunity.visualstudio.com/content/problem/185399/error-c2760-in-combaseapih-with-windows-sdk-81-and.html