Visual C 2008 Microsoft MVP myaustinkorea com www

  • Slides: 46
Download presentation
Visual C++ 2008 새로운 기능과 사용법 고재관 Microsoft MVP myaustin@korea. com www. PDAlab. org

Visual C++ 2008 새로운 기능과 사용법 고재관 Microsoft MVP myaustin@korea. com www. PDAlab. org myaustin. egloos. com

VC++ 2008

VC++ 2008

VC++ 2008 버전 컴파일러 버전 Visual C++ 1. 0 Visual C++ 1. 5 Visual

VC++ 2008 버전 컴파일러 버전 Visual C++ 1. 0 Visual C++ 1. 5 Visual C++ 2. 0 Visual C++ 2. 1 Visual C++ 2. 2 Visual C++ 4. 0 Visual C++ 4. 1 Visual C++ 4. 2 Visual C++ 5. 0 Visual C++ 6. 0 Visual C++. NET 2002 Visual C++. NET 2003 Visual C++ 2005 Visual C++ 2008 내부버전 1. 0 1. 5 2. 0 2. 1 2. 2 4. 0 4. 1 4. 2 5. 0 6. 0 7. 1 8. 0 9. 0 통합제품 Visual Studio 97 Visual Studio 6. 0 Visual Studio. NET 2002 Visual Studio. NET 2003 Visual Studio 2005 Visual Studio 2008

VC++ 2008 /MP 컴파일러 스위치 지원 cl. exe 용 멀티 프로세스 빌드 /MP 또는

VC++ 2008 /MP 컴파일러 스위치 지원 cl. exe 용 멀티 프로세스 빌드 /MP 또는 /MPn (n은 CPU의 개수) Project Properties C/C++ Command Line Additional options Multi-proc 프로젝트 빌드 에서 동작 Tools Options Project and Solutions Build and Run parallel project builds 최상의 결과를 얻기 위한 설정

VC++ 2008 UAC 노출 응용 프로그램 생성 Linker /MANIFESTUAC[: {NO|”fragment”}] Project Properties Linker Manifest

VC++ 2008 UAC 노출 응용 프로그램 생성 Linker /MANIFESTUAC[: {NO|”fragment”}] Project Properties Linker Manifest File Project Upgrade UAC는 커지고 레벨은 “as. Invoker” 로 설정함

VC++ 2008 관리형코드 증분 빌드 A. Dll … Class. B b; b. f() …

VC++ 2008 관리형코드 증분 빌드 A. Dll … Class. B b; b. f() … A. dll B. meta B. dll B. meta(*) B. Dll public ref class Class. B { public String f() { //important string here return “Important String”; } } 마지막 빌드 후 중요한 변경 없이 프로젝트 스킵

VC++ 2008 TR 1(1 st Library Extension) The Technical Report on C++ Library Extensions

VC++ 2008 TR 1(1 st Library Extension) The Technical Report on C++ Library Extensions Boost derived classes tr 1: : shared_ptr tr 1: : function, tr 1: : mem_fn, tr 1: : bind tr 1: : regex tr 1: : tuple, tr 1: : array, unordered containers (hash-based) tr 1: : type_traits 난수 발생 제네레이터 ANSI C 99 미지원 및 일부 수학함수 지원 불가

VC++ 2008 마샬링 라이브러리 지원 네이티브 코드로부터 데이터형태로 마샬링 지원 관리형 코드와 네이티브 코드

VC++ 2008 마샬링 라이브러리 지원 네이티브 코드로부터 데이터형태로 마샬링 지원 관리형 코드와 네이티브 코드 사이의 데이터 타입 마샬링 컨텍스트를 미요구변환 마샬링 사용자에 의한 미지원 기능 확장 가능 #include <msclr/marshal. h> using namespace msclr: : interop; … { … System: : String^ sourcestring 1 = “teststring” const char* deststring 1; //Convert System: : String^ to const char* using //TO to = context. marshal_as<TO>(from) marshal_context ctx; deststring 1 = ctx. marshal_as<const char*>(sourcestring 1); … }

VC++ 2008 STL/CLR 라이브러리 변경 사항. NET Framework 사용 응용프로그램 STL 공용사용 STL 및.

VC++ 2008 STL/CLR 라이브러리 변경 사항. NET Framework 사용 응용프로그램 STL 공용사용 STL 및. NET 컬렉션 사이에 데이터 교환 템플릿 및 지네릭을 동시에 사용 최상의 성능 향상 및 크로스-언어 호환성 성취 디자인 관리형 코드의 어떤 한 부분에서의 STL 지원 #include <cliext/hash_map> #include <cliext/algorithm> void my. Function() { … cliext: : hash_map< Int 32, String^ > my. Map; my. Map. insert(cliext: : make_pair(5, gcnew String("String 1"))); cliext: : hash_map<Int 32, String^>: : iterator it. Five= my. Map. find(5); … cliext: : vector<String^> v 4; cliext: : random_shuffle( v 4. begin( ), v 4. end( ) ); …}

VC++ 2008 새로운 MFC 라이브러리 UX Visual Studio IDE 지원

VC++ 2008 새로운 MFC 라이브러리 UX Visual Studio IDE 지원

VC++ 2008 Vista 에서 새로운 컨트롤 추가 지원 공용 파일 다이얼로그 Vista 형태의 다이얼로그

VC++ 2008 Vista 에서 새로운 컨트롤 추가 지원 공용 파일 다이얼로그 Vista 형태의 다이얼로그 기본 지원 Shell Interface 형태 Component 호출 IFile. Open. Dialog , IFile. Save. Dialog , IFile. Dialog. Events 기존 API형태도 유지되나 기본호출 되지 않음 Get. Open. File. Name , Get. Save. File. Name , On. Notify 페이져 컨트롤 양 끝 방향버튼으로 버튼 페이지 구성 MFC에서는 CPager. Ctrl Class

VC++ 2008 Demo

VC++ 2008 Demo

MFC

MFC

MFC Microsoft Foundation Class Library C++형태로 포장된 Windows API 클래스 라이브러리 1992년 MFC 1.

MFC Microsoft Foundation Class Library C++형태로 포장된 Windows API 클래스 라이브러리 1992년 MFC 1. 0 마이크로소프트 C/C++ 7. 0 처음 탑재 관련 라이브러리 볼랜드 OWL (Object Windows Library) 매킨토시 TCL (Think Class Library) Mainsoft 유닉스용 MFC라이브러리

MFC 버전 컴파일러 버전 MS-C 7. 0 Visual C++ 1. 5 Visual C++ 2.

MFC 버전 컴파일러 버전 MS-C 7. 0 Visual C++ 1. 5 Visual C++ 2. 0 Visual C++ 2. 1 Visual C++ 2. 2 Visual C++ 4. 0 Visual C++ 4. 1 Visual C++ 4. 2 Visual C++ 5. 0 Visual C++ 6. 0 Visual C++. NET 2002 Visual C++. NET 2003 Visual C++ 2005 Visual C++ 2008 MFC 버전 MFC 1. 0 MFC 2. 5 MFC 3. 0 MFC 3. 1 MFC 3. 2 MFC 4. 0 MFC 4. 1 MFC 4. 21 MFC 6. 0 MFC 7. 1 MFC 8. 0 MFC 9. 0 MFC 42. dll

MFC 구성요소 개발기술 UI 구현 범용기능 추가 Visual Manager Frames 탭지원 MDI CWin. App

MFC 구성요소 개발기술 UI 구현 범용기능 추가 Visual Manager Frames 탭지원 MDI CWin. App Control Bars Dialogs 문서/뷰 지원 예외처리 Office 리본바 Tool. Bar, Menu, Status. Bar 파일지원 G 도킹판(Docking Panes) Views Vista 공용 다이얼로그 데이터베이스 Vista 공용 컨트롤 Window Controls OLE 지원 새로운 컨트롤 GDI Support 기타… 컨테이너

MFC 새로운 기능 Vista 지원 Control Class 추가 데스크탑 통보 윈도우 추가 Messenger ,

MFC 새로운 기능 Vista 지원 Control Class 추가 데스크탑 통보 윈도우 추가 Messenger , Outlook 2007 화면 우측 하단 팝업창 새로운 UI Control 향상된 버튼 Shell tree and list 마스크를 지원하는 Edit Box 프로퍼티 리스트 (Property list) 새로운 공용 Control Command 버튼 Class Split 버튼 Class 네트워크 주소지정 컨트롤 Class Sys. Link 컨트롤 Class

MFC Draw. Client

MFC Draw. Client

MFC 리본바 CMFCRibbon. Application. Button CMFCRibbon. Quick. Access. Tool. Bar CMFCRibbon. Category CMFCRibbon. Bar

MFC 리본바 CMFCRibbon. Application. Button CMFCRibbon. Quick. Access. Tool. Bar CMFCRibbon. Category CMFCRibbon. Bar CMFCRibbon. Panel CMFCRibbon. Color. Button CMFCRibbon. Button

MFC 도킹판(Docking Panes)

MFC 도킹판(Docking Panes)

MFC Visual. Manager 응용프로그램을 화려하게 구성 UI 구성 코드를 한곳에 집중. toolbars, buttons, menus,

MFC Visual. Manager 응용프로그램을 화려하게 구성 UI 구성 코드를 한곳에 집중. toolbars, buttons, menus, ribbons, docking panes, 기타… 실행 중에 다른 스킨으로 변경 Office XP Native Windows XP/Windows Vista Office 2003 Visual Studio 2005 Office 2007 (색상 스키마)

MFC Visual. Manager

MFC Visual. Manager

관련자료 VS 2008 Professional Trial Edition http: //www. microsoft. com/downloads/details. aspx? Family. ID=83 c

관련자료 VS 2008 Professional Trial Edition http: //www. microsoft. com/downloads/details. aspx? Family. ID=83 c 3 a 1 ec-ed 72 -4 a 79 -8961 -25635 db 0192 b&Display. Lang=en VC++ Blog http: //blogs. msdn. com/vcblog/ VC++ Libraries forums http: //forums. microsoft. com/MSDN/Show. Forum. aspx? Forum. ID=8& Site. ID=1 Channel 9 VC++ videos http: //channel 9. msdn. com/tags/C++ BCGSoft http: //www. bcgsoft. com/

VC++ 팀블로그 관련내용 http: //blogs. msdn. com/vcblog Marshaling Library in Orcas Visual Studio Express

VC++ 팀블로그 관련내용 http: //blogs. msdn. com/vcblog Marshaling Library in Orcas Visual Studio Express Orcas Resource Editor Updates for Orcas Visual C++ Orcas Feature Specifications online Custom Wizards MFC Updates for Vista Common Controls Multi-processor builds in Orcas Managed Incremental Build An Update to STL/CLR is Complete!

최근의 Channel 9 영상들 http: //channel 9. msdn. com/tags/C++ Steve Teixeira and Bill Dunlap:

최근의 Channel 9 영상들 http: //channel 9. msdn. com/tags/C++ Steve Teixeira and Bill Dunlap: Visual C++ Today and Tomorrow Nikola Dudar: STLCLR - STL Development in the Managed World Marina Polishchuk: VC++ QA - The best job in the biz Sarita Bafna: VC++ "Orcas" - Marshaling Library and MFC support for Common Controls Ale Contenti: VC++ Safe Libraries and More Gordon Hogenson: Documenting Development Technologies

Q&A

Q&A