FileName Example for C++ 5.0 and later

ILEADRasterProcess* m_pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&m_pRasterProc);
m_pRasterProc->Message = "";
m_pRasterProc->FileName ="c:\\1.txt";
m_pRasterProc->AddMessage(m_LeadRasterView.GetRaster ());
m_pRasterProc->Release();