본문 바로가기
C | C++ | VC++

VC++9.0 (MSVS2008) 에서 Afximpl.h <L_TYPE_raw> 오류

by 두루물 2010. 9. 10.
ProfUI 옛날버전 컴파일시 오류발생,Stdafx.h 에 아래를 추가한다.

#define _MFC_VER 0x800
#if _MFC_VER >= 0x800
#define WINVER 0x500
#define _WIN32_WINNT 0x500
#define _WIN32_WINDOWS 0x500
#define _WIN32_IE 0x500
#define USE_STD_STREAM
#define HRAWINPUT DWORD
#include<Vsstyle.h>
#endif