Programming Manual
PHYTEC Messtechnik GmbH 2008 L-720e_0
85
P
ro
g
ra
m
m
in
g
M
a
n
u
a
l
6.2.4
Application of the DLL
The DLL provides communication between user programs and the
pciGrabber-4x4. The DLL configures the Grabber and controls
digitization events. In addition, the DLL allows access to the data of
digitized images stored in the main memory.
Caution:
The DLL is not linked to the user program, but invoked during
runtime. Therefore, the DLL must be available in the Windows
system directory during program runtime.
In addition to GR4CDLL.DLL the following DLLs are necessary for
operation:
•
M
SVCRT
.
DLL
•
C
TL
3
D
32.
DLL
•
M
FC
42.
DLL
Windows provides various API functions to dynamically link the
DLL.
Load Library
(…) is used to load the DLL and a handle is
subsequently
returned
for
the
DLL.
The
API
function
GetProcAddress(…)
provides starting addresses for various DLL
functions. In order to release DLLs at program end, call the function
FreeLibrary(...)
. For more information, please
refer to the
development environment’s User's Manual/Data Sheets or refer to the
enclosed SDK source.