How to: Create Class Libraries
To create a class library, use the Class Library template, which is available in the New Project dialog box.
Your computer might show different names or locations for some of the Visual Studio user interface elements in the following instructions. The Visual Studio edition that you have and the settings that you use determine these elements. For more information, see Visual Studio Settings.
To create a class library
On the File menu, click New, and then click Project.
The New Project dialog box appears.
In the Installed Templates section on the left side, click the Visual C++ node. Click the Class Library icon in the list of available templates.
In the Name box, type a unique name for your application.
You can also specify other project and solution settings in the New Project dialog box.