VC6 -> VS .NET 2008 로 컨버젼중~

Posted on 2009. 8. 20. 14:21
Filed Under Visual C++

[1] WINVER이 설정 안되어서 Vista 기반 컴파일!?
Command line warning D9035 :
    option 'Wp64' has been deprecated and will be removed in a future release
<http://kaistizen.net/EE/index.php/weblog/comments/vs2005_to_vs2008/>


<출처: http://blog.naver.com/leolo/70044309207>

Visual C++ 6.0 으로 진행되던 프로젝트를 Visual C++ 2005로 포팅하게 되면(Visual C++ 2005 툴을 이용한 Project 변환 이용) WINVER 가 정의 되지 않아 Default 값인 Windows Server 2003으로 설정된다는 메세지를 보게 된다.

WINVER not defined. Deafaulting to 0x0502 (Windows Server 2003)

만들고 있는 프로젝트가 지원해야 할 최소 OS 를 설정하기 위해서는 WINVER를 설정해야 한다.

설정값은 다음과 같다.

Minimum system required Macros to define
Windows Vista _WIN32_WINNT>=0x0600

WINVER>=0x0600

Windows Server 2003 _WIN32_WINNT>=0x0502

WINVER>=0x0502

Windows XP _WIN32_WINNT>=0x0501

WINVER>=0x0501

Windows 2000 _WIN32_WINNT>=0x0500

WINVER>=0x0500

Windows NT 4.0 _WIN32_WINNT>=0x0400

WINVER>=0x0400

Windows Me _WIN32_WINDOWS=0x0500

WINVER>=0x0500

Windows 98 _WIN32_WINDOWS>=0x0410

WINVER>=0x0410

Windows 95 _WIN32_WINDOWS>=0x0400

WINVER>=0x0400

반응형

About

by 쑤기c

반응형