Im having a little problem. I just noticed my program has a problem when opening more then +/- 508 files. WHen opening the +/-509th file it just returns NULL. Since i need to be able to open 1002 files at once im wondering if this limit can be overcome. Im using winxp in combination with a very recent mingw compiler. To open files i just use fopen().

This also make me wonder how high this limit is on other windows version (win98+me).