CxIOFile file; file.Open("d:\\1.tif",_T("rb")); TIFF * ptiff; CxImageTIF *imagetifcx; imagetifcx=new CxImageTIF; ptiff=imagetifcx->TIFFOpenEx(&file);