ImageMan ImTwain Control Version 8
ErrorCode Property
See Also  Send comments on this topic.

Glossary Item Box

Description

Returns the control's Error Code

Property type

Read-only property

Syntax

Visual Basic
Public Property ErrorCode As Long

Remarks

ErrorCode 

Description

Details

0

"Okay"

"Error Code Okay"

1

"Failed Twain State Change"

"The current Twain State %d is not between the desired %d and %d."

2

"Unable to Allocate Global Memory"

"The requested global memory block failed to be created. Size requested: %d."

3

"Failed to Lock Global Memory"

"Global Handle : %d was unable to be locked"

4

"Variant Change Type Failed"

"Variant Change Type to type %d failed hret = %d"

5

"Missing Dispatch Interface"

"Failed to find COM Dispatch interface for %s object."

6

"Failed Query Interface"

"Failed to Query Interface for %s object."

7

"Unrecognized Type"

"Unrecognized Type %d."

8

"Capability Not Supported"

"Capability %s is not supported by this device."

9

"Bad Handle"

"Bad handle returned from scanner, unable to lock handle %d in container %s."

10

"Failed Accessing Safe Array"

"Failed to access index %d in Safe Array hret = %d."

See Also

© 2014 Data Techniques Inc. All Rights Reserved.