<< Click to Display Table of Contents > 

Scanner Card Interface > Description

Description
Previous pageReturn to chapter overviewNext page

The Scanner Card Interface provides two different access methods that offer the same functionality:

COM interface

C-style DLL calls

The COM interface has to be initialized and accessed as specified in the COM standard. The device- and marking-specific initialization has to be done afterwards and is described below.
The C-style DLL calls are provided in "sc_optic.dll". In contrast to the COM interface, initialization and deinitialization has to be done through direct function calls ( ScSCIInitInterface() / ScSCIInitOptic() and ScSCIExit() ).

Initiialization is allowed to be done exactly once for all threads of the application since there can be only one output context at the same time. This is true for the DLL interface and its init and exit functions as well as the COM interface and the related ScOpticModule2D object.

In the following sections both access methods are are described in parallel. They can be differenced by their name: if a function starts with ScSCI..() it belongs to the direct DLL call interface, otherwise it is part of the COM interface calls.