Bengt Richter wrote: > What's that first zero argument? [...] > Does that mean you are trying to use stdin as the open file handle? No it doesn't, according to Thomas Heller's post in this thread. Thomas said 0 means "not associated with a file" on windows... --Irmen