Re: what's appens with this FH ??by krusty (Hermit)
|on Oct 19, 2002 at 17:17 UTC||Need Help??|
The first open opens c:\winnt\temp\hash.tmp for reading and for writing, but you didn't do a seek to the beginning of the file when you started reading.
Perhaps another wise monk could explain here, but I'm going to guess that since the file was never closed, its not reading an end of file marker and is just pushing out whatever is left in its stack.
You may have noticed the print statement never prints out to STDOUT
Add a seek and all may be well again: