Share via


Application Type, MFC Smart Device Application Wizard

Use this page of the MFC Smart Device Application Wizard to design and add basic features to a new MFC smart device project.

  • Application type
    Indicate the type of document support you want to create in your application. The type of application you select determines the user interface options available for your application. For more information on user interface options, see User Interface Features, MFC Smart Device Application Wizard. For more information about the types of documents, see:

    Option

    Description

    Single document

    Creates a single document interface (SDI) architecture for your application, with a view class based on CView. You can change the base class for the view in the Generated Classes page of the wizard. To create a form-based application, for example, you could use CFormView for the view class.

    In this type of application, the document's frame window can hold only one document in the frame.

    Dialog based

    Creates a dialog-based architecture for your application, with a dialog class based on CDialog.

    Single document with doc list

    Creates a single document architecture for your application, based on the CDocList Class. This option is only available for platforms that support this class, such as Pocket PC.

    NoteNote:
    CdocList is not available in this release.
  • Document/view architecture support
    Includes document/view architecture in your application using the CDocument Class and CView Class base classes (default). Clear this check box if you are porting a non-MFC application, for example, or if you want to reduce the size of your compiled executable. An application without document/view architecture is derived from CWinApp Class by default, and it does not include MFC support for opening a document from a disk file.

  • Resource language
    Sets the language to use for your resources. The list displays the languages available on your system, as installed by Visual Studio. If you want to select a language other than your system language, then the appropriate template folder for that language must already be installed. For more information on installing language resources different from the defaults available in the Resource Language list, see Wizard Support for Other Languages. The language you select is reflected in the Localized strings option of the Document Template Strings page of the wizard.

  • Use of MFC
    Indicates how to link to the MFC library. By default, MFC is linked as a shared DLL.

    Option

    Description

    Use MFC in a shared DLL

    Links the MFC library to your application as a shared DLL. Your application makes calls to the MFC library at run time. This option reduces the disk and memory requirements of your application if it is composed of multiple executable files that use the MFC library. Both Windows CE and MFC applications can call functions in your DLL.

    Use MFC in a static library

    Links your application to the static MFC library at build time.

See Also

Reference

MFC Smart Device Application Wizard