TempDirectory Example for C++ 5.0 and later
m_RasterView.GetRaster().
SetTempDirectory
("C:\\Temp");