PreLoadFilters Example for C++ Builder
LEADRasterIO* pRasterIO= NULL;
CoCreateInstance(CLSID_LEADRasterIO, NULL, CLSCTX_ALL, IID_ILEADRasterIO, (void**)&pRasterIO);
//preload the BMP, PCX, FAX, and TIFF filters,
//and allow 1 filter to be cached, while always
//keeping 3 loaded.
pRasterIO->PreLoadFilters (3, 1, AnsiToOLESTR("BMP,PCX,FAX,TIF"));
//..... load an image
pRasterIO-> Release( );