Creating the ATL Project
The ATL COM AppWizard, provided by Visual C++, automates the creation of an ATL project. The following procedure details the necessary steps:
To create the ATL project
-
From the File menu, click New.
-
Click the Projects tab.
-
Click the ATL COM AppWizard item.
-
In the Project edit box, type the new name.
-
In the Location edit box, type the location of the new project.
-
Click OK to start the ATL COM AppWizard.
-
In Step 1 of the ATL COM AppWizard, select Dynamic Link Library (DLL) from the Server Type group.
-
Click Finish.
-
Click OK to create the ATL project.
The newly created project is small and contains only a few of the necessary components needed for an ATL project. Currently, the project consists of:
-
.H and .CPP source files for the proxy initialization module.
-
.IDL source file, which is used to generate the type library and marshalling code.