초보의 아웅다웅 설계하기/STM32

error C1189: #error : MFC does not support WINVER less than 0x0501.

로망와니 2018. 7. 18. 11:43

Custom_HID PC 프로그램 예제에서 에러문제



error C1189: #error : MFC does not support WINVER less than 0x0501. Please change the definition of WINVER in your project properties or precompiled header. c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxv_w32.h 40 1 UsbHidDemonstrator



USB HID Demonstrator\src\StdAfx.h 에서 아래의 부분을 수정하여야 합니다.



#define WINVER 0x0500

=> 수정

#define WINVER 0x0A00



USB HID Demonstrator.zip


참고 :

http://poorman.tistory.com/144

'초보의 아웅다웅 설계하기 > STM32' 카테고리의 다른 글

다중 이동식 저장장치  (0) 2018.07.23
USB Composite  (0) 2018.07.22
Buzzer Melody  (0) 2018.07.16
IAR 에서 고정 영역 SRAM과 ROM 사용  (0) 2018.07.06
STM32L432 Read Protection 버그인가?  (0) 2018.06.28