How to: Create Class Libraries

To create a class library, use the Class Library template, which is available from the New Project dialog box.

Note

The appearance of features in the IDE can depend on your active settings or edition, and might differ from those described in Help. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To create a class library

  1. On the File menu, click New, and then click Project.

    The New Project dialog box appears.

  2. In the Project Types pane, click the Visual C++ node. In the Templates pane, click the Class Library icon.

  3. In the Name box, enter a unique name for your application.

    Note

    You can also specify other project and solution settings from the New Project dialog box, but these settings are not required.

  4. Click OK.

See Also

Other Resources

Debugging Preparation: Visual C++ Project Types