LBase::UnloadLibraries

Summary

Unloads specific LEADTOOLS library DLLs at run-time.

Syntax

#include "ltwrappr.h"

static L_VOID LBase::UnloadLibraries (uLibraries, uSubLibraries)

Parameters

L_UINT32 uLibraries

Flag that indicates which LEADTOOLS library DLLs to unload. Possible values are given below, and may be combined.

Value Meaning
LT_KRN unload the LtKrnu.dll (Win32) or LtKrnx.dll (x64).
LT_DIS unload the LtDisu.dll (Win32) or LtDisx.dll (x64).
LT_FIL unload the LtFilu.dll (Win32) or LtFilx.dll (x64).
LT_IMG unload the LEADTOOLS imaging library. The complete libraries list are specified in uSubLibraries.
LT_EFX unload the LtEfxu.dll (Win32) or LtEfxx.dll (x64).
LT_DLG unload the LEADTOOLS dialog library. The complete libraries list are specified in uSubLibraries.
LT_TWN unload the LtTwnu.dll (Win32) or LtTwnx.dll (x64).
LT_SCR unload the LtScru.dll (Win32) or LtScrx.dll (x64).
LT_ANN unload the LtAnnu.dll (Win32) or LtAnnx.dll (x64).
LTV_KRN unload the LtVkrnu.dll (Win32) or LtVkrnx.dll (x64).
LTV_DLG unload the LtVdlgu.dll (Win32) or LtVdlgx.dll (x64).
LT_TMB unload the LtTmbu.dll (Win32) or LtTmbx.dll (x64).
LT_LST unload the LtLstu.dll (Win32) or LtLstx.dll (x64).
LT_BAR unload the LtBaru.dll (Win32) or LtBarx.dll (x64).
LT_ZMV unload the LtZmvu.dll (Win32) or LtZmvx.dll (x64).
LT_IMGOPT unload the LtImgOptu.dll (Win32) or LtImgOptx.dll (x64).
LT_ALL_LEADLIB unload any loaded LEADTOOLS libraries.

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

L_UINT32 uSubLibraries

Flag that indicates which LEADTOOLS sub-library DLLs to load, this value is only valid if uLibraries contains LT_DLG or LT_IMG. Possible values are given below, and may be combined.

Value Meaning
LEADTOOLS dialog library
LT_DLGIMGEFX load the LtDlgImgEfxu.dll (Win32) or LtDlgImgEfxx.dll (x64).
LT_DLGEFX load the LtDlgEfxu.dll (Win32) or LtDlgEfxx.dll (x64).
LT_DLGFILE load the LtDlgFileu.dll (Win32) or LtDlgFilex.dll (x64).
LT_DLGIMG load the LtDlgImgu.dll (Win32) or LtDlgImgx.dll (x64).
LT_DLGIMGDOC load the LtDlgImgDocu.dll (Win32) or LtDlgImgDocx.dll (x64).
LT_DLGCLR load the LtDlgClru.dll (Win32) or LtDlgClrx.dll (x64).
LT_DLGKRN load the LtDlgKrnu.dll (Win32) or LtDlgKrnx.dll (x64).
LT_DLGWEB load the LtDlgWebu.dll (Win32) or LtDlgWebx.dll (x64).
LT_ALL_DLG load all available LEADTOOLS dialogs libraries.
LEADTOOLS imaging library
LT_IMGCOR load the LtImgCoru.dll (Win32) or LtImgCorx.dll (x64).
LT_IMGCLR load the LtImgClru.dll (Win32) or LtImgClrx.dll (x64).
LT_IMGSFX load the LtImgSfxu.dll (Win32) or LtImgSfxx.dll (x64).
LT_IMGEFX load the LtImgEfxu.dll (Win32) or LtImgEfxx.dll (x64).
LT_ALL_IMG load all available LEADTOOLS imaging libraries.

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

Returns

None.

Comments

Call this function to unload specific LEADTOOLS library DLLs at run-time. The specified constants will determine which libraries you want to unload. You can use this function to minimize the memory footprint of your program by loading and unloading the libraries you need when necessary.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Example

For an example, refer to LBase::LoadLibraries.

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.