Loading File Filters

Some operating systems (like Windows 95) have a limit for the number of DLLs that can be loaded at a time and that limit can be quickly reached, especially if there are several other third party libraries loading DLLs, or if the programming environments themselves load many DLLs. By default, LEADTOOLS loads several fixed filters and several cached filters. The fixed filters are FAX, CMP, TIF, JBG, LMB, BMP and PCX.

Use the following function to specify the file format filters you want LEADTOOLS to load:

L_PreLoadFilters

Use the following function to specify the file format filters LEADTOOLS should never load:

L_IgnoreFilters

It is important to note that L_PreLoadFilters must be called prior to loading, saving or getting information on a file. In addition, L_PreLoadFilters must be called before calling L_IgnoreFilters for L_IgnoreFilters to work properly.