Using LEADTOOLS with Your C/C++ Compiler

For Microsoft C, you need to include the library (.LIB) files that LEADTOOLS supplies in order to call LEADTOOLS API functions. For a summary of the library files, refer to Files To Be Included With Your Application. For the library files required by a particular function, refer to the function description.

For other compilers, you may need to generate a .LIB file from a DLL. For example, use the IMPLIB.EXE program with Borland C, versions 3.x and 4.x. For other compilers, on WIN32 systems, you should also specify alignment on a 1-byte boundary.

The make files for the example programs are different for different editions of LEADTOOLS, as follows:

image\sqrblit.gif For WIN32 editions, all of the example programs have separate make files for Microsoft C and for Borland C. Before using a Borland make file, you must update its variable assignments to reflect the correct path name on your system for the library and include files.