Download presentation
Presentation is loading. Please wait.
Published byAshleigh Clower Modified over 10 years ago
1
Developing Apps With eMbedded Visual C++ ® Mike Shappell Windows CE Tools Microsoft Corporation 8-306
3
Agenda Embedded Visual C++ 3.0 Embedded Visual C++ 3.0 Goals for the 3.0 release New features in 3.0 release Supported Windows ® CE platforms Porting Code to Windows CE Porting Code to Windows CE Pocket PC Enhancements Pocket PC Enhancements Overview MFC/ATL enhancements ROM runtime matrix Porting Code to Pocket PC Porting Code to Pocket PC
4
Goals For The 3.0 Release EVC will be a world class development tool for embedded developers targeting Windows CE 3.0 EVC will be a world class development tool for embedded developers targeting Windows CE 3.0 EVC will be everything an embedded developer needs to start writing C++ code EVC will be everything an embedded developer needs to start writing C++ code EVC will be a quality experience for the developer EVC will be a quality experience for the developer
5
New Features In 3.0 Release A Complete Suite of Development Tools A Complete Suite of Development Tools Includes Visual Basic ® and Visual C++ Tools are stand-alone, no dependencies Embedded Visual C++ includes SP3 fixes Works side-by-side with Visual Studio 6.0 Includes HPCPRO, PSPC and PPC SDKs Documentation improved and stand-alone
6
Documentation Changes
7
New Features In 3.0 IDE Stand-alone Features Stand-alone Features Removed Win32 ® “clutter” from the IDE Promoted embedded elements to top level Improved remote Ethernet connectivity No longer requires WINS, DHCP, DNS, etc. WIN32_PLATFORM_XXX Macros WIN32_PLATFORM_XXX Macros HPC, HPCPRO, PSPC and UNKNOWN Common Executable Format Support Common Executable Format Support
8
New Features In 3.0 IDE
9
Supported CE Platforms Windows CE 2.0 Windows CE 2.0 Hand-held PC 2.0 Palm-size PC 1.0 Windows CE 2.11 Windows CE 2.11 Hand-held PC 3.0 Palm-size PC 1.2 Platform Builder 2.11 Windows CE 2.12 Windows CE 2.12 Platform Builder 2.12 Windows CE 3.0 Windows CE 3.0 Pocket PC 2.0 Platform Builder 3.0
10
Porting Code To Windows CE Create MFC Application for Desktop Create MFC Application for Desktop Take a Look at Application on Desktop Take a Look at Application on Desktop Convert Application to Windows CE Convert Application to Windows CE Create new empty project using wizard Add all desktop files to empty project Add support for pre-compiled headers Add support for the CE command bar Take a Look at Converted Application Take a Look at Converted Application
11
Convert Desktop Code Changes required to mainfrm.cpp Changes required to mainfrm.cpp Add Windows CE command bar support Disable dockable toolbar support Changes required to mainfrm.h Changes required to mainfrm.h Add CCeCommandBar definition Changes required to sample.cpp Changes required to sample.cpp Disable 3D control calls for Windows CE
12
mainfrm.cpp Convert Desktop Code
13
mainfrm.h sample.cpp
14
Pocket PC Overview Next Generation Palm Size Device Next Generation Palm Size Device New, Simplified User Interface New, Simplified User Interface Requires changes to existing code New user interface elements added Many Performance Improvements Many Performance Improvements Professional and Standard Versions Professional and Standard Versions Tools Support Available at Launch Tools Support Available at Launch
15
Pocket PC User Interface
16
IDE Changes For Pocket PC MFC and Win32 Wizard for Pocket PC MFC and Win32 Wizard for Pocket PC Generate code for Pocket PC features New resource formats for menu bars New Menu Bar Editor for Pocket PC New Menu Bar Editor for Pocket PC Supports new SHMENU resource format More Robust Emulation Environment More Robust Emulation Environment
17
MFC Enhancements All Windows/Dialogs are Full-Screen All Windows/Dialogs are Full-Screen All UI Elements are Drawn Flat (no 3D) All UI Elements are Drawn Flat (no 3D) Window Borders Have Been Removed Window Borders Have Been Removed Single Application Instance Support Single Application Instance Support Transparent Support for New Menu Bar Transparent Support for New Menu Bar Support for Pocket PC Document List Support for Pocket PC Document List Tap and Hold Context Menu Support Tap and Hold Context Menu Support
18
ROM Runtime Matrix Standard ROM Standard ROM CEF Translator CEF Translator Professional ROM Professional ROM CEF Translator CEF Translator MFC/ATL MFC/ATL Visual Basic Visual Basic ADOCE ADOCE
19
Porting Code tTo Pocket PC Start with Our Converted Application Start with Our Converted Application Look at Application After Re-compiling Look at Application After Re-compiling Convert Application to the Pocket PC Convert Application to the Pocket PC Add document list support Add support for the OK button Take a Look at Pocket PC Application Take a Look at Pocket PC Application
20
Re-Compiled For Pocket PC
21
Convert Application Code Changes required to sample.cpp Changes required to sample.cpp Add document list support Disable automatic file new Changes required to sampleview.cpp Changes required to sampleview.cpp Add OK button to new views Changes required to sample.rc Changes required to sample.rc Add support for extension filtering
22
sample.cpp Convert Application Code
23
sample.rc sampleview.cpp
24
NotePad+ Application
25
Common Executable Format Common Executable Format (CEF) Common Executable Format (CEF) CPU Transparency Within a Platform CPU Transparency Within a Platform Existing executables work on new CPUs Executables are translated to native once Translation can occur on host or device Performance and Size are Important Performance and Size are Important Both are with-in 20% of native executable
26
CEF Translation Process Desktop (Host) Translation Device Side Translation Device CEF PE PDB Translators CPU-Specific Translators Native PE PENativePDB Device CEF PE Translator Translator Single Translator on device CAB Native PE NativePE
27
Feedback Suggestions (wcetwish@microsoft.com) Suggestions (wcetwish@microsoft.com)wcetwish@microsoft.com Bug Report (wcetbug@microsoft.com) Bug Report (wcetbug@microsoft.com)wcetbug@microsoft.com Submit Problem Report on Help Menu Submit Problem Report on Help Menu
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.