반응형 MFC apps1 [개발/VC++] error : WINDOWS.H already included. MFC apps must not #include <windows.h> 컴파일하는데 이런 에러가 발생한다. fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include 이런에러에 대한 참고 내용이 아래 링크에 있다. http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/2ab6862f-0d90-467a-b283-f62f6aef96fe/ 그리고 헤더 파일에 다음이 포함된다. #include . 아래에서 stdafx.h 헤더 파일을 살펴보자. #pragma once #ifndef STRICT #define STRICT #endif #include #define _ATL_ALL_WARNINGS #include "targetver.h" .. 2011. 1. 5. 이전 1 다음 반응형