On Thu, Mar 16, 2006 at 10:54:56PM +0100, Mean wrote: > fseeko & ftello can be emulated on windows using fsetpos/fgetpos and > _filelengthi64 Are you sure? fpos_t is an opaque type and potentially includes things other than a position, such as a shift state for wide-oriented streams. Using fsetpos/fgetpos is a very bad idea IMO. Rich