Load example for C++ 5.0 and later
long nPages;
m_pRasterMrc->put_EnableMethodErrors (TRUE);
m_pRasterMrc->GetPagesCount("d:\\temp\\testT44.mrc");
nPages = m_pRasterMrc->GetMRCPagesCount();
CString msg;
msg.Format(TEXT("File has %ld pages"), nPages);
SetWindowText(msg);
// load last page
m_pRasterMrc->Load(m_RasterView.GetRaster(), "d:\\temp\\testT44.mrc", nPages);