DLL Interfacing
Implicit DLL Linking
98
E1852B Operating Guide
Implicit DLL Linking
With
Implicit Linking
the Application requires the interface header
file E1852Bdll.h
plus
the E1852Bdll.lib file (and the DLL itself ).
The DLL linking is now done implicitly by the compiler used for
creating the Application program. The compiler will recognize this
because of the keyword
__declspec(dllimport)
specified in the
interface header file. The information needed for the compiler to
perform this linking is included in the .lib file. The lib file shall
therefore be included in the source file list of the Application project.
Unfortunately there seems to be compiler differences between .lib
formats.
Therefore it is recommended to use the implicit DLL
linking method only with Borland compilers
. In other cases (e.g.
Microsoft), the explicit DLL linking method is recommended.
E1852-90007.book Page 98 Monday, February 4, 2002 2:09 PM
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com