Udostępnij za pośrednictwem


Application Settings, ATL Smart Device Project Wizard

Specifies settings other than platform settings for the new ATL smart device project.

Note

You cannot select 'Attributed' when you are running Code Wizards on Smart Device projects. Smart Device Projects do not support attributed code in this release.

Server Type

  • Dynamic-link library (DLL)
    Specifies that your server is a dynamic link library (DLL) and therefore an in-process server.

  • Executable (EXE)
    Specifies that your server is an executable (EXE) and therefore a local out-of-process server. This option does not provide support for MFC.

Additional Options

  • Support MFC
    Specifies that your server includes MFC support. This option links your project to the MFC libraries and lets you access any classes and functions they contain.

    Select this option only if you must use MFC-specific classes from within your project. Utility classes such as CString, CRect Class, CSize Class, and CPoint Class do not require that you add MFC support to your ATL project.

    If you select this option, you must add the following line to the beginning of every COM method, windows procedure, and exported function that uses MFC:

    AFX_MANAGE_STATE(AfxGetStaticModuleState()); 
    
  • Support merged proxy/stub
    Enables MIDL-generated proxy and stub code, typically for SDKs that use DCOM. The option is unavailable for platforms that do not support it, including Pocket PC and Smartphone.

See Also

Reference

ATL Smart Device Project Wizard

Other Resources

ATL Reference for Devices

User Interface Reference for Devices