This function retrieves the error reference number.

[C++Builder]   int IKGetErrorStatus(void);
[Delphi]   function IKGetErrorStatus: Integer;

Parameters

None

Return Value

Value Explanation
0 No error has occurred
1 The process was canceled
2 An unspecified error has occurred
3 A memory error has occurred
4 This function is not supported
5 An incorrect value has been set
6 The file is incorrect or corrupted
7 The image is incorrect or corrupted
8 Twain_32.dll can not load
9 An error has occurred while drawing on or displaying an image
10 That image format is not supported
11 The order of execution is incorrect
12 There is no paper in the ADF (UI suppressed only)
13 There are no images in the digital camera (UI suppressed only)
14 The DLL is not loaded
15 Transmission error
16 Cannot find file
17 The file is corrupted
18 A timeout has occurred. The process has been cancelled
19 The username and/or password is incorrect. Access denied.
20 Cannot open file
21 Cannot create file
22 Cannot save file
23 Cannot load file
24 There is no image data to display
101 There is no entry point for the Twain_32.dll
102 The data source manager and the data source haven't been opened or can't be opened.
103 There is no data source
104 The data source is already connected to the maximum number of applications
105 An error has occurred in the data source or in the data source manager
106 An unconfirmed triplet has occurred (TWAIN - DG_XXX/DAT_XXX/MSG_XXX)
107 Check the scan device's operating state
108 Paper is jammed in the feeder
109 Multiple sheets of paper have been fed into the feeder
110 The resolution is incorrect
111 The cover is open
112 The corner of the original is folded over
113 A focus error occurred when capturing the original
114 The original is too bright
115 The original is too dark
116 Unable to transfer because image information cannot be retrieved

Explanation

The IKGetErrorStatus function retrieves the error reference number for an error that occurs when using an ImageKit10 DLL command.

Note: Error 13 is for digital cameras whose TWAIN drivers support TWAIN version 1.7 and up. Errors 108 and 109 are for TWAIN drivers that support TWAIN version 1.8 and up.

Errors 111 through 115 are for TWAIN drivres that support TWAIN version 2.0

Error 116 is for TWAIN drivers that support TWAIN version 2.1

 

The ImageKit10 VCL is a product created by Newtone Corporation