> PHYSFS_file *myfile = PHYSFS_openRead(strMyOLDCompundFile); > > CFile *pFile = new CFile((FILE*)myfile); A PHYSFS_file is not a FILE, you can't cast between them. --ryan.