컴퓨터 엑셀 워드 포토샵 구글어스 WINDOWS JAVASCRIPT JAVA C++

 
Thursday, August 31, 2006

문제해결] Visual Studio Express 에서 컴파일이 안돼요 - Visual C++ 2005 Express


Visual Studio Express (비주얼 스튜디오 익스프레스)에는 Windows.h 등의 중요한 헤더 파일이 들어 있지 않기에, 윈도우 프로그램을 컴파일하면 에러가 나게 됩니다.

따라서 Microsoft Platform SDK 라는 것을 다운로드받아서 설치해 주어야 합니다. 이것 역시 무료로 다운로드받을 수 있습니다.


이 페이지에 설치법이 있습니다 (영문):
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/
Using Visual C++ 2005 Express with the Microsoft Platform SDK
(2023-07-27 업데이트: 현재 삭제된 페이지)


위의 주소에 있는 페이지를 간단히 번역하면 이렇습니다:


단계1: Visual C++ Express 를 설치

단계2: Microsoft Platform SDK 설치

단계3: 비주얼C++메뉴의 Options > Projects and Solutions 대화상자에서, 다음의 경로를 추가합니다
Executable files: C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin

Include files: C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include

Library files: C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib


단계4:
"C:\Program Files\Microsoft Visual Studio 8\VC\VCProjectDefaults" 폴더의 "corewin_express.vsprops"라는 파일을 다음과 같이 편집합니다.
AdditionalDependencies="kernel32.lib"

이것을

AdditionalDependencies="kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib"

이렇게 고칩니다.


단계5:
"C:\Program Files\Microsoft Visual Studio 8\VC\VCWizards\AppWiz\Generic\Application\html\1033\" 라는 폴더의

AppSettings.htm
이라는 파일을 편집합니다.

AppSettings.htm 이라는 파일에서
// WIN_APP.disabled = true;
// WIN_APP_LABEL.disabled = true;
// DLL_APP.disabled = true;
// DLL_APP_LABEL.disabled = true;

이런 부분 앞에, 위와 같이 // 주석 기호를 붙이고, 저장합니다.




▶▶ [희소식] 비주얼 스튜디오 무료화 / Visual C++ 2005 Express 등등




tag: cpp
C언어 | C/C++ (Visual C++)

0 Comments:

Post a Comment

<< Home RSS 2.0 feed

구글 Google 에서 제공하는 무료 블로그 서비스인 블로거 Blogger 의 인터넷 주소는 www.blogger.com 입니다. Blogger 에 블로그를 만들면, blogspot.com 이라는 주소에 블로그가 생성됩니다.
블로그를 직접 방문하지 않고도 최신 게시물을 구독하려면 RSS 2.0 feed 주소를 리더기에 등록하시면 됩니다.
Previous Posts
Monthly Archives
Top