EdgeDetectorExt example for Visual C++

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

   pRasterProc->EdgeDetectorExt (m_RasterView1.GetRaster (), 60, EDG_SOBEL_ALL); 

   pRasterProc->Release();