fgetpos fails

fgetpos() function from the Microsoft's multithreaded librarry consitently fails in Windows NT 4.0, when one process is writing records in a file and another process is reading them using fgetpos() to find a position in the file to read next record.