312 Subj : how to increase max number for file handles To : borland.public.cpp.borlandcpp From : heon Date : Thu Dec 02 2004 12:17 pm currently i am running out of file handles. in my program, i use fopen() to open a file. since the max number of file handle is defined as 50 in _nfile.h, i increased to 128. i compiled my test program with files.c and files2.c. now the test program gets file handles up to 125. the problem is that my exe calls a my file dll function to get a FILE pointer and my file dll function calls fopen() internally. therefore, i compiled file library with files.c and files2.c. it compiled fine. but it crashes when exe calls my file dll function to get a FILE pointer. can any body help me? thank you in advance. heon . 0