2 function reference, 1 operations for the dll, Function reference 9.2.1 – KEYENCE LJ-V7000 Series User Manual
Page 28: Operations for the dll

28
LJ-V7000_COM_RM_E
9.2
Function reference
The type of the return value for the functions where there is a possibility of an error occurring is LONG.
Normally, 0 (ERR_NONE) is returned, and the return code is expressed in the lower 2 bytes (the upper 2
bytes are reserved).
For the common return codes for functions, see "10 Common Return Codes". For the individual return codes
for functions, see the function description in this chapter. The return codes are listed as the lower 2 bytes in
hexadecimal (example: 0x0100).
9.2.1 Operations for the DLL
Initialize DLL
Finalize DLL
Get DLL version
Format
LONG LJV7IF_Initialize(void);
Parameters
-
Return value
No individual return code
Explanation
This function initializes the DLL. (Always run this function)
Supported version
1.00
Format
LONG LJV7IF_Finalize(void);
Parameters
-
Return value
No individual return code
Explanation
This function performs the termination processing for the DLL. (Always run this
function)
Supported version
1.00
Format
DWORD LJV7IF_GetVersion(void);
Parameters
-
Return value
DLL version
Explanation
This function gets the DLL version.
The version is expressed as a hexadecimal number. Viewed as hexadecimal,
the 4th digit is the major version, the 3rd digit is the minor version, the 2nd digit
is the revision, and the 1st digit is the build. For example, the initial version
(1.2.3.4) is expressed as 0x1234.
The major version is incremented when the DLL's backward compatibility is lost.
The minor revision is incremented when the version is updated with additional
functions.
Supported version
1.00