audio recording 소스 빌드 좀 도와주세요.

pogusm의 이미지

첨부파일은 아래의 링크에서 다운로드 한 audio recording program 입니다.
http://www.codeproject.com/Articles/12574/Simple-audio-recording-program

visual studio 2010 환경인데 아래와 같은 오류가 뜹니다.

1>c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\include\atlcore.h(109): error C3861: 'InitializeCriticalSectionAndSpinCount': 식별자를 찾을 수 없습니다.
1>c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\include\afxcomctl32.h(23): fatal error C1189: #error :  This file requires _WIN32_WINNT to be #defined at least to 0x0500. Value 0x0501 or higher is recommended.
1>
1>빌드하지 못했습니다.
1>
1>경과 시간: 00:00:00.82
========== 빌드: 성공 0, 실패 1, 최신 0, 생략 0 ==========

구글링을 해보니 아래의 내용을 추가하라고 하던데.. 잘 안됩니다.

#ifndef _WIN32_WINNT          
#define _WIN32_WINNT 0x0501
#endif 

도와주세요~ 굽신굽신~

pogusm의 이미지

첨부파일입니다 (글 수정이 안되어서 댓글로 올립니다)

댓글 첨부 파일: 
첨부파일 크기
Package icon SoundRec.zip72.92 KB