Build the SaxJumpStart Project
This set of topics walk you through the process of creating a working C++ SAX application. The first step is to create a Microsoft Visual Studio 2008 project for your application.
Create and configure the Visual Studio Project
Start Microsoft Visual Studio 2008.
From the File menu, select New, and then select Project. The New Project dialog box will open. For Project types, select Visual C++ / Win32. For Templates, select Win32 Console Application. Then type the name of the project (in this case, "SaxJumpStart") in the Name field. For the project Location field, either accept the default setting or choose another location (e.g., c:\examples). Click OK.
The Win32 Application Wizard will start. You do not need to change any options. Click Finish.
Set up the include directory for Visual Studio. From the Tools menu, select Options. In the Options dialog box, expand Projects and Solutions. Select VC++ Directories. Select Include files in the Show directories for drop down box. Click the New Line button, and add a new line to the list of directories. Browse to the directory that contains the MSXML header file. For MSXML 6.0, by default, the directory is under C:\Program Files (x86)\Microsoft SDKs\Windows. Click OK.
Set up the lib directory for Visual Studio. From the Tools menu, select Options. In the Options dialog box, expand Projects and Solutions. Select VC++ Directories. Select Library files in the Show directories for drop down box. Click the New Line button, and add a new line to the list of directories. Browse to the directory that contains the MSXML libraries. Click OK.
Modify the project to link with the MSXML 6.0 library. In the Solution Explorer, right click on the project and select Properties. In the tree, expand Configuration Properties, and then expand Linker. Under Linker, click on Command Line. Enter msxml6.lib in the Additional options text box. Click OK.
Now you are ready to add source and header files to the project.