SwapColors example for Visual C++ 5 and later
ILEADRasterProcess *pRasterProc=NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&pRasterProc);
pRasterProc->SwapColors (m_RasterView.GetRaster (), SWAP_RG);
pRasterProc->Release();