Visual studio programs should ALWAYS begin with the following line:
#include "stdafx.h"
unzip the xerces-c-3.0.0.zip
add the bin to the path environment varibale in windows
To add include
Select Project>Settings to bring up the project settings dialog box. Select All Configurations from the Settings combo box, click the C++ tab, select the General category, and add the Xerces include path to the Additional include directories text box.
To add library files
Select Project>Settings to bring up the project settings dialog box. Select All Configurations from the Settings combo box, click the Linker tab, select the General category, and add the Xerces lib path to the Additional library directories text box.
In the Project>Settings=>linker=>input=> add to the dependency
xerces-c_3.lib
xerces-c_3D.lib
xerces-c_static_3.lib
xerces-c_static_3D.lib
The Xerces DLLs (xerces-c_2_3_0.dll and for debug purpose xerces-c_2_3_0D.dll) are in xerces\bin. Copy both of them into the directory, where they can be available for all applications (in Windows\system)
Adding command argument to visual studio
right click on the project, click properties; now you will see th property pages for the project. Select Debugging under Configuration Properties on the left pane.
On right pane, look for Command Arguments. Fill it to whatever you want.
Thursday, February 12, 2009
Subscribe to:
Post Comments (Atom)
1 comment:
Hi,
This is really informative and helpful. It helped me to solve the configuration issues i had in my system.
Thank you,
Hemanth
Post a Comment