Udostępnij za pośrednictwem


ATL Smart Device Project Wizard

The Active Template Library (ATL) is a set of template-based C++ classes that simplify writing COM objects. The ATL Smart Device Project Wizard creates a project with the structures to contain COM objects.

Overview

Displays the current project settings for the ATL project you are creating. By default, the project has the following settings:

  • 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.

  • Dynamic-link library, which specifies that your server is a DLL and therefore an in-process server.

Platforms

Click Platforms in the left column of the wizard to display the Platforms, ATL Smart Device Project Wizard page. Use this page to select SDKs for the current project.

Application Settings

Click Application Settings in the left column of the wizard to display the Application Settings, ATL Smart Device Project Wizard page. Use this page to select server type (DLL or EXE) and certain additional options.

Note

In ATL EXE projects, COM local servers do not start when they are instantiated by COM if they are registered in a directory that has a long file name containing spaces, for example \Program Files\My Server\.

Avoid this situation by using a short file name with no spaces to register the class. For more information, see How to: Specify the Remote Path for Primary Project Output. (The default value contains spaces.)

See Also

Other Resources

User Interface Reference for Devices

ATL Reference for Devices