ENCX SDK  5.5.0.926
Public Member Functions | Properties | List of all members
ILibrary Interface Reference

Properties and methods for ENCX::Library. More...

import"encxcom.idl";

Inheritance diagram for ILibrary:
Inheritance graph
[legend]

Public Member Functions

HRESULT Construct ([in] BSTR OEMKey, [in] BSTR DFSFileName)
 Initialise the ENCX library. More...
 
HRESULT DoIdle ([out, retval] VARIANT_BOOL *bRes)
 Call while the application is idle and while DoIdle() keeps returning true. More...
 

Properties

VARIANT_BOOL ValidOEMKey [get]
 True if the OEM key supplied when the object was initialized is a valid key. More...
 
IDongle Dongle [get]
 Get the Dongle object. This object can be queried about the state of the dongle. More...
 
BSTR DFSInstallationId [get]
 Get the Installation ID string which is used to obtain a Dongle Free Security (DFS) file from CherSoft. More...
 
BSTR DFSFileName [get]
 The full pathname of the DFS filename. More...
 
VARIANT_BOOL ValidDFSFile [get]
 Is the DFS file valid (an absence of file is considered invalid) More...
 
BSTR Version [get]
 Get the version of the library. More...
 
IGeoPointFormatter GeoPointFormatter [get]
 

Detailed Description

Properties and methods for ENCX::Library.

Definition at line 309 of file encxcom.idl.

Member Function Documentation

◆ Construct()

HRESULT ILibrary::Construct ( [in] BSTR  OEMKey,
[in] BSTR  DFSFileName 
)

Initialise the ENCX library.

Both parameters can be passed empty strings in which case default values will be used.

If hardware dongles are used the DFS filename should be passed an empty string.

The default OEM key corresponds to a default ENCX product - more information about OEM keys is available on the ENCX website www.encx.com

◆ DoIdle()

HRESULT ILibrary::DoIdle ( [out, retval] VARIANT_BOOL *  bRes)

Call while the application is idle and while DoIdle() keeps returning true.

Idle processing is not essential to ENCX, but it will improve the scrolling performance for raster charts.

Property Documentation

◆ DFSFileName

BSTR ILibrary::DFSFileName
get

The full pathname of the DFS filename.

The default path is typically in the Application Data special folder.

A different path can be specified using a ILibrary::Construct() parameter.

◆ DFSInstallationId

BSTR ILibrary::DFSInstallationId
get

Get the Installation ID string which is used to obtain a Dongle Free Security (DFS) file from CherSoft.

◆ Dongle

IDongle ILibrary::Dongle
get

Get the Dongle object. This object can be queried about the state of the dongle.

◆ GeoPointFormatter

IGeoPointFormatter ILibrary::GeoPointFormatter
get

◆ ValidDFSFile

VARIANT_BOOL ILibrary::ValidDFSFile
get

Is the DFS file valid (an absence of file is considered invalid)

◆ ValidOEMKey

VARIANT_BOOL ILibrary::ValidOEMKey
get

True if the OEM key supplied when the object was initialized is a valid key.

◆ Version

BSTR ILibrary::Version
get

Get the version of the library.