RemoveRedeye example for C++ 5.0 and later

   ILEADRasterProcess *pRasterProc=NULL; 
   CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&pRasterProc); 

   m_RasterView1.GetRaster ().SetRgnEllipse (80, 55, 35, 30, L_RGN_SET); 
   pRasterProc->RemoveRedeye (m_RasterView1. GetRaster (), RGB(5, 20, 10), 125, 100); 

   pRasterProc->Release();