Quick question: when is this code used ? ... else { // nothing was loaded, but we need to skip space on disc fp->seekp(lgr, std::ios::cur); } } Aren't we writting junk on disk ? Mathieu