본문 바로가기

Programming/C++, MFC

Error。error C2146, C4430, C2039, C2660

728x90
반응형

1>c:\program files (x86)\microsoft visual studio 9.0\vc\atlmfc\include\atlcom.h(431) : error C2146: 구문 오류 : ';'이(가) 'rgclsidAllowed' 식별자 앞에 없습니다.

1>c:\program files (x86)\microsoft visual studio 9.0\vc\atlmfc\include\atlcom.h(431) : error C4430: 형식 지정자가 없습니다. int로 가정합니다. 참고: C++에서는 기본 int를 지원하지 않습니다.

1>c:\program files (x86)\microsoft visual studio 9.0\vc\atlmfc\include\atlcom.h(431) : error C4430: 형식 지정자가 없습니다. int로 가정합니다. 참고: C++에서는 기본 int를 지원하지 않습니다.

1>c:\program files (x86)\microsoft visual studio 9.0\vc\atlmfc\include\atlcom.h(6053) : error C2039: 'rgclsidAllowed' : 'ATL::ATL_PROPMAP_ENTRY'의 멤버가 아닙니다.

1>        c:\program files (x86)\microsoft visual studio 9.0\vc\atlmfc\include\atlcom.h(422) : 'ATL::ATL_PROPMAP_ENTRY' 선언을 참조하십시오.

1>c:\program files (x86)\microsoft visual studio 9.0\vc\atlmfc\include\atlcom.h(6053) : error C2660: 'ATL::CComVariant::ReadFromStream' : 함수는 4개의 매개 변수를 사용하지 않습니다.

 

 

# 해결 방법

Visual Studio 2008 서비스 팩1 ATL 보안 업데이트 설치

 

<Visual Studio 2008 서비스 팩1 ATL 보안 업데이트 설치 후 mt.exe 에러 링크>

[Programming/C++, MFC] - Error。LINK : fatal error LNK1158: 'mt.exe'을(를) 실행할 수 없습니다.

728x90
반응형