Visual C++ Concepts: Creating and Managing Projects
Application Settings, ATL Project Wizard

Use the Application Settings page of the ATL Project Wizard to design and add basic features to a new ATL project.

Server type

Choose from one of three server types:

Dynamic-link library (DLL)

Select to create an in-process server.

Executable (EXE)

Select to create a local out-of-process server. This option does not allow support for MFC or COM+ 1.0. It does not allow for the merging of proxy/stub code.

Service (EXE)

Select to create a Windows application that runs in the background when Windows starts. This option does not allow support for MFC or COM+ 1.0 or does not allow for the merging of proxy/stub code.

Additional options

NoteNote:

All additional options are available for DLL projects only.

Allow merging of proxy/stub code

Select the Allow merging of proxy/stub code check box as a convenience when marshaling interfaces is required. This option puts the MIDL-generated proxy and stub code in the same DLL as the server.

Support MFC

Select to specify that your object includes MFC support. This option links your project to the MFC libraries so that you can access any of the classes and functions they contain.

Support COM+ 1.0

Select to modify the project build settings to support COM+ 1.0 components. In addition to the standard list of libraries, the wizard adds the COM+ 1.0 component-specific library comsvcs.lib

In addition, the mtxex.dll is delay loaded on the host system when your application is launched.

  • Support component registrar   If your ATL project contains support for COM+ 1.0 components, you can set this option. The component registrar allows your COM+ 1.0 object to obtain a list of components, register components, or unregister components (individually or all at once).

See Also

Tasks

Reference

Tags :


Community Content

tko2
No Attibuted Option on 2008
I don't see any attributed option on the withered. Is this happening to only me?
Tags :

Noelle Mallory - MSFT
No Attribute option in ATL Project Wizard Visul Studio 2008 ;(

I also have no "Attribute" option in the project wizard in VS 2008. (VS 2005 ATl Wiz has the "Attribute" option).

It would be nice if someone form MS can confirm that the "Attribute" was deleted (than update the help) or offer an Update for the WIz for VS 2008.

Tags : contentbug

Gideon7
Use of attributes is deprecated in ATL

The option to use attributes in new ATL projects was removed from Visual Studio 2008. According to the book ATL Internals (2ed) the use of attributes is deprecated and should not be used in new ATL projects. Old projects upgraded from VS2005 should continue to work.

Tags : atl

ggianop
Supposition?
The text in the book "ATL Internals (2ed)" which references attributes being deprecated is writen as supposition. The author seems to draw this conclusion from the fact that the Visual Studio 2005 release changed the default from enabling attributes to disabling attributes.

"but it appears that Microsoft has abandoned the idea because the ATL wizards no longer default to attributed code." (ATL Internals, 2nd Edition)

I can find NOWHERE that Microsoft has indicated that attributes are deprecated. None of the discussions on MSDN refer to this. None of the developers have admitted this that I can locate on the WEB. Their documentation implies that it is still, fully, supported; yet it does not work. The Wizard UI is still documented with no reference to deprecation. It's pretty unprofessional in my opinion.
Tags :

Qwertie
No option to make attributed project
What's up Microsoft, why can't we make attributed ATL COM projects anymore?
Tags :

Page view tracker