AddFrame example for C++ 5.0 and later
ILEADRasterProcess *pRasterProc=NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&pRasterProc);
pRasterProc->AddFrame(m_RasterView1.GetRaster (), m_RasterView2.GetRaster(), FALSE, FALSE, 0, 0, FRAME_OUTSIDE, FRAME_QUALITY_LOW);
pRasterProc->Release();