Setting up your project

As ITLogLib/Standard C++ internally builds on ITLogLib/Win32 which uses a runtime DLL, you must link your C++ projects to ITLogLib2Win32.dll. This is usually done linking to a so-called import library for the DLL. Import libraries are compiler / linker dependent (see below).

 

Therefore do this to setup your project:

1.    Check out if iTech Logging already ships with an import library for your C++ compiler.

The import libraries can be found in subdirectories of the directory .\ITLogLib\Win32\lib of your ITL installation.

Note: An import library for Microsoft Visual C++ and Visual C++ .NET can be found there in the Microsoft subdirectory. But as mentioned before, we recommend you to use ITLogLib/Visual C++ with Visual C++.

2.    If not, create an import library file for ITLogLib2Win32.dll.

 

The procedure how to create DLL import libraries for your development environment should be described in its online help or its other documentation.


Examples:

Borland C++ products
(C++ and C++ Builder)

use IMPLIB.EXE to create ITLogLib2Win32.lib

GNU C++ compiler (g++)

use DLLTOOL.EXE to create ITLogLib2Win32.a

 

3.    Add the import library file to your project.

 

The exact procedure here again depends on your development environment and should be documented there.

 

See also:

·      Including the API in your modules