<< Click to Display Table of Contents > 

Scanner Card Interface > SCI Functions > Init

Init
Previous pageReturn to chapter overviewNext page

Return value

Function / Property name

Parameter

long

ScSCIInitInterface()

void

Table 6: InitInterface

Initializes the direct DLL call interface for use with the ScSCI..() functions. This initialization is required to set up the DLL interface; it is usually called only once at the beginning of an application. Calling it again will destroy all internal objects and initialize anew. After initialization, a custom correction file can be set by calling ScSetDevicePath().


Return value

Function / Property name

Parameter

long

ScInitControl()

void

long

ScSCIInitOptic()

void

Table 7: InitOptic

This function call initializes the optic device using the correction file and device initialization options that were specified between the calls to ScSCIInitInterface and ScSCIInitOptic. This call is necessary in order to enable the SCI to output any vector data. The optic initialization can be done more than once and has to be done every time a new correction file or initialization options are set.


Return value

Function / Property name

Parameter

long

ScSCIExit()

void

Table 8: Exit

This function de-initializes the DLL interface and frees all allocated resources.