MFC Smart Device Application Wizard
The Microsoft Foundation Classes (MFC) Smart Device Application Wizard generates an application having built-in functionality that, when it is compiled, implements the basic features of a Windows CE executable (.exe) application.
Overview
The Overview page of the MFC Smart Device Application Wizard describes the current application settings for the MFC smart device applications that you are creating. By default, the wizard creates the project as follows:
Platforms
- The default target platform for the project is the first platform in the platforms' list. In a default installation, the default platform is Pocket PC 2003, but installing and uninstalling Windows CE 5.0 SDKs may change the default target for new applications or add new targets such as Smartphone 2003.
Application Type
The project is created by using SDI and MDI.
The project uses the Document/View Architecture.
The project uses MFC in a shared DLLs.
Document Template Strings
- The project uses the project name for the default document template strings.
User Interface Features
- The project implements a command bar.
Advanced Features
- The project supports no advanced features.
Generated Classes
The project's view class is derived from CView Class.
The project's application class is derived from CWinApp Class.
The project's document class is derived from CDocument Class.
The project's main frame class is derived from CFrameWnd Class.
After creating your new project, if the compiler issues a warning about defining _CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA, you have to define this flag in your main header file.
#define _CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA
This is the case especially for scenarios such as creating COM objects on Windows Mobile platforms, consuming Web services in Windows Mobile, and ATL COM objects.