Setting up Visual Studio

Since version 2 our setup program offers to set up Visual Studio for you. So normally shouldn’t need the following information.

 

Before setting up the paths in Visual Studio be sure to exit all other instances of Visual Studio. Else the settings might not be saved properly and you have to setup them again

We recommend that you setup the following paths within Visual Studio, so that every project and module can use them:

§      the path to the include directory of iTech Logging.

Its value is:
<installation directory of iTech Logging>\ITLogLib\VisualCxx\include.
Here you find the include file for Visual C++, named „ITLogLib2.h".

This setting simplifies the
inclusion of the logging API in your C++ modules

§      the path to the library directory of iTech Logging.

Its value is:
<installation directory of iTech Logging>\ITLogLib\VisualCxx\lib.
Here you find import library for "ITLogLib2.dll", named „ITLogLib2.lib".

This setting simplifies the
set up of your projects

After changing the settings exit Visual Studio to save them to the registry.

 

Here are the steps to change the settings in Visual Studio in detail:

§      Choose „Tools / Options" from the main menu. The "Options" dialog will open.

§      Select the property page "Directories". Here is a screenshot how the dialog should look like now (logging paths already added).

§      Make sure that in the "Platform" combobox the value "Win32" is selected.

§      Select "Include files" from the combobox named "Show directories for" and add the include directory of iTech Logging.

§      Select "Library files" from the combobox named "Show directories for" and add the library directory of iTech Logging.

§      Press OK.