3.2.6.2 Create New Static Library Project

Figure 3-12. New Static Library Project

Click OK to create the Static Library project. A default source file with the same name as the project will be added to the solution. You may then write and compile your routines/functions. You can also add new source files or header files to the project.

Open the Project Properties on the menu Project'Your_project_name Properties'. This menu item is only available when a Static Library project is open. Select the Build property page. Here you will see that the Artifact Type is selected as Static Library.

Figure 3-13. Static Library Build Properties

Compile the project by selecting Build Solution from the Build menu. This creates a Static Library, which can be used by other programs.