LBase::GetLoadedLibraries

#include "ltwrappr.h"

static L_UINT32 LBase::GetLoadedLibraries (L_VOID)

Determines the loaded LEADTOOLS library DLLs

Returns

An L_UINT32 value representing the LEADTOOLS libraries that were loaded successfully. Possible values are:

Value

Meaning

LT_KRN

ltkrnXXn.dll for Non-Unicode or ltkrnXXnu.dll for Unicode was loaded successfully.

LT_DIS

ltdisXXn.dll for Non-Unicode or ltdisXXnu.dll for Unicode was loaded successfully.

LT_FIL

ltfilXXn.dll for Non-Unicode or ltfilXXnu.dll for Unicode was loaded successfully.

LT_IMG

ltimgXXn.dll for Non-Unicode or ltimgXXnu.dll for Unicode was loaded successfully.

LT_EFX

ltefxXXn.dll for Non-Unicode or ltefxXXnu.dll for Unicode was loaded successfully.

LT_DLG

ltdlgXXn.dll for Non-Unicode or ltdlgXXnu.dll for Unicode was loaded successfully.

LT_ISI

ltisiXXn.dll was loaded successfully.

LT_TWN

lttwnXXn.dll for Non-Unicode or lttwnXXnu.dll for Unicode was loaded successfully.

LT_SCR

ltscrXXn.dll for Non-Unicode or ltscrXXnu.dll for Unicode was loaded successfully.

LT_ANN

ltannXXn.dll for Non-Unicode or ltannXXnu.dll for Unicode was loaded successfully.

LT_NET

ltnetXXn.dll for Non-Unicode or ltnetXXnu.dll for Unicode was loaded successfully.

LV_KRN

lvkrnXXn.dll for Non-Unicode or lvkrnXXnu.dll for Unicode was loaded successfully.

LV_DLG

lvdlgXXn.dll for Non-Unicode or lvdlgXXnu.dll for Unicode was loaded successfully.

LT_TMB

lttmbXXn.dll for Non-Unicode or lttmbXXnu.dll for Unicode was loaded successfully.

LT_LST

ltlstXXn.dll for Non-Unicode or ltlstXXnu.dll for Unicode was loaded successfully.

LT_BAR

ltbarXXn.dll for Non-Unicode or ltbarXXnu.dll for Unicode was loaded successfully.

LT_ZMV

ltzmvXXn.dll for Non-Unicode or ltzmvXXnu.dll for Unicode.

LT_IMGOPT

ltimgoptXXn.dll for Non-Unicode or ltimgoptXXnu.dll for Unicode.

LT_ALL_LEADLIB

all available LEADTOOLS libraries were loaded successfully

These values may be combined using the bitwise OR operator ( | ).

Comments

Call this function to check for loaded LEADTOOLS DLLs at run-time.

Required DLLs and Libraries

LTKRN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Elements:

LBase::LoadLibraries, LBase::UnloadLibraries, Class Members

Example

The following code will check whether the TWAIN library is loaded or not:

 

if(LBase::GetLoadedLibraries()&LT_TWN)
{
   //   TWAIN library is loaded
}
else
{
   //   TWAIN library is not loaded
}