Driver Software
PHYTEC Meßtechnik GmbH 2004 L-608e_4
95
5.2.5
Application of the W indows 95/98
TM
/ Windows NT4.0
TM
/
Windows 2000
TM
DLL
In order to use the DLL Gr4CDLL.DLL, the software developer must
define a function pointer for each function that will be used in the
application.
Example:
•
Function to be used: WORD Get_Error(void)
•
Definition of the function pointer:
WORD (PASCAL * lpfn_GetError)(void);
Use GetProcAddress(…) to obtain the relationship between the
function pointer and the DLL.
Example:
lpfn_GetError = (WORD(PASCAL *)(void))
GetProcAddress(handle, „Get_Error“);
The function can now be called with:
WORD Errorstatus;
...
Errorstatus = lpfn_GetError();
Caution:
Check the value of the function pointer (return value from
GetProcAddress) to be sure that it = 0. A value of 0 ensures that the
driver version installed on the user’s computer supports the functions
and will return a valid handle.
Содержание eGrabber-4plus
Страница 1: ...A product of a PHYTEC Technology Holding company eGrabber 4plus Hardware Manual Edition June 2004 ...
Страница 8: ...eGrabber 4plus PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Страница 10: ...eGrabber 4plus PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Страница 56: ...eGrabber 4plus 46 PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Страница 80: ...eGrabber 4plus 70 PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Страница 81: ...Part 2 Programmer s Manual PHYTEC Meßtechnik GmbH 2004 L 608e_4 71 Part 2 Programmer s Manual ...
Страница 82: ...eGrabber 4plus 72 PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Страница 137: ...Driver Software PHYTEC Meßtechnik GmbH 2004 L 608e_4 127 Figure 52 Color Format of the eGrabber 4plus ...
Страница 188: ...eGrabber 4plus 178 PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Страница 192: ...eGrabber 4plus 182 PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Страница 204: ...eGrabber 4plus 194 PHYTEC Meßtechnik GmbH 2004 L 608e_4 ...
Страница 206: ...Published by PHYTEC Meßtechnik GmbH 2004 Ordering No L 608e_4 Printed in Germany ...