LoadResize example for C++ 5.0 and later
ILEADRasterIO *pRasterIO=NULL;
CoCreateInstance(CLSID_LEADRasterIO, NULL, CLSCTX_ALL, IID_ILEADRasterIO, (void**)&pRasterIO);
pRasterIO->LoadResize(m_RasterView1.GetRaster (), "c:\\temp\\test.cmp", 250, 50, LoadResizeConstants (RESIZE_RESAMPLE), 0);
pRasterIO->Release();