Declaration
function IEWebPAvailable(RaiseExcept: Boolean = False; ExeFolderOnly: Boolean = True) : Boolean; overload;
function IEWebPAvailable(RaiseExcept: Boolean; const DLLPath: String) : Boolean; overload;
Description
Checks if the
IEWebP DLL is available (and initializes it).
If RaiseExcept is true, an exception will occur if the DLL is not found.
If ExeFolderOnly is true, only the folder of the application EXE is checked for IEVision DLLs.
Alternatively, you can specify a path to the DLL, which can either be a full filename or a folder.
Note: You can use
RegisterPlugIns as an alternative to
IEWebPAvailable. See example below...
Example
if not IEWebPAvailable( False ) then
ShowMessage( 'WebP DLL not found! Please reinstall' );
// Which is the same as:
IEGlobalSettings().RegisterPlugIns( [iepiWebP] );
if not ( iepiWebP in IEGlobalSettings().ActivePlugIns ) then
ShowMessage( 'WebP DLL not found! Please reinstall' );
See Also
◼ RegisterPlugIns◼ DLLLoadingLog