CompuServe Thread

File Handle Limit!

1 messages in this thread
#30511From: Rob WarrenJul 11, 1994 10:29 AM
We are using Microsoft Visual C++ 1.5 to write an ODBC application. I have opened two tables from an Access database, one table from another Access database, one table from a dBase III database, one table from a dBase IV database, and one table from a FoxPro 2.0 database. With all of these opened, I am unable to save the current document. An exception is being thrown, the cause of which is that too many files are open. The file can be saved successfully under with the all of the above opened, except for the FoxPro 2.0 database. Does opening ODBC database files remove from the pool of twenty file handles given to my executable? By rebuilding the run-time library, and modifying the number of file handles can we bump up the limit? Does ODBC impose a maximium number of open databases at a time? Thank you for any answers to these questions or further information.