본문 바로가기
  • fishing...
  • eating...

error3

C# - ERROR] BadImageFormatException 이 예외 메시지는 대부분 x64 환경에서 64bit CLR 응용 프로그램에서 32bit 닷넷 어셈블리 파일을 조작할 때 발생하는 경우 일 수 있다고 한다. 이런 경우에 사용하려는 DLL 파일을 x64버젼으로 마이그레이션 할 수 없다면, 해당 응용 프로그램을 x86에 맞춰서 빌드해 주면 된다. Software Env. Window 7 64bit ultimate Visual Studio 2008 Shown no error message when compile. but program is able to show run-time error. 2010. 7. 10.
ERROR] C1189 Min Max 매크로로 인한 Error #error : Error: min or max is #defined, probably in . Put #define NOMINMAX before including windows.h to suppress windows global min,max macros. PhysX는 Min, Max 매크로를 nxmath.h에 정의하여 사용하고 있다. 이 때문에 Windows.h에도 정의 되어 있는 두 Min, Max 매크로가 충돌(중복정의)을 일으켜 발생되는 에러다. 따라서 해결 방법은 아래처럼 해주면 된다. #define NOMINMAX #ifdef max #undef max #endif #ifdef min #undef min #endif #include 오류6fatal error C1189: #error : Er.. 2009. 12. 20.
[나를 괴롭히는 잔잔한 에러들] fatal error C1010: fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? Wizard로 만든 프로젝트/솔루션을 이용할때 많이 볼 수 있는 에러다. 해결 방법은 다음과 같다. 프로젝트 속성 - 구성 속성 -> C/C++ -> 미리 컴파일된 헤더 -> 미리 컴파일된 헤더 만들기/사용의 속성을 미리 컴파일된 헤더 사용 안함으로 바꾸면 된다. project property -> Configuration Properties -> C/C++ -> Precompiled headers -> Create/Use Precompiled header .. 2009. 11. 5.