LBase::GetLoadedLibraries

Summary

Determines the loaded LEADTOOLS library DLLs.

Syntax

#include "ltwrappr.h"

static L_UINT32 LBase::GetLoadedLibraries ()

Returns

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

Value Meaning
LT_KRN LtKrnu.dll (Win32) or LtKrnx.dll (x64) was loaded successfully.
LT_DIS LtDisu.dll (Win32) or LtDisx.dll (x64) was loaded successfully.
LT_FIL LtFilu.dll (Win32) or LtFilx.dll (x64) was loaded successfully.
LT_IMG LEADTOOLS imaging libraries were loaded successfully. The complete libraries list are specified in uSubLibraries of LBase::UnloadLibraries.
LT_EFX LtEfxu.dll (Win32) or LtEfxx.dll (x64) was loaded successfully.
LT_DLG LEADTOOLS dialog libraries were loaded successfully. The complete libraries list are specified in uSubLibraries of LBase::UnloadLibraries.
LT_TWN LtTwnu.dll (Win32) or LtTwnx.dll (x64) was loaded successfully.
LT_SCR LtScru.dll (Win32) or LtScrx.dll (x64) was loaded successfully.
LT_ANN LtAnnu.dll (Win32) or LtAnnx.dll was loaded successfully.
LTV_KRN LtVkrnu.dll (Win32) or LtVkrnx.dll (x64) was loaded successfully.
LTV_DLG LtVdlgu.dll (Win32) or LtVdlgx.dll (x64) was loaded successfully.
LT_TMB LtTmbu.dll (Win32) or LtTmbx.dll (x64) was loaded successfully.
LT_LST LtLstu.dll (Win32) or LtLstx.dll (x64) was loaded successfully.
LT_BAR LtBaru.dll (Win32) or LtBarx.dll (x64) was loaded successfully.
LT_ZMV LtZmvu.dll (Win32) or LtZmvx.dll (x64) was loaded successfully.
LT_IMGOPT LtImgOptu.dll (Win32) or LtImgOptx.dll (x64) was loaded successfully.
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

Platforms

Win32, x64.

See Also

Example

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

L_INT LBase__GetLoadedLibrariesExample() 
{ 
	 
	if(LBase::GetLoadedLibraries()&LT_TWN) 
	{ 
 
		//   TWAIN library is loaded 
 
	} 
	else 
	{ 
 
		//   TWAIN library is not loaded 
 
	} 
	return SUCCESS; 
} 

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.