I support an application written in FoxPro 2.6 for DOS, that runs on a number of different Win-XP and Win-98 PC's without problem
I have recently started getting a problem on one system, where the application fails with the error 'Invalid File Descriptor'.
I have tried running under TAME, and changing memory allocation in config.fp (MEMLIMIT) and the short-cut properties but cannot correct the problem.
When the error occurs the TAME process view shows that there are 20 file handles open (not such a large number when FILES in CONFIG.SYS is set to 250), but one of the tables used by the program shows the compound index CDX open but no file handle for the DBF.
At the command prompt after the error, LIST STATUS doesn't show this DBF, yet it shows in a work area after a SET command. If I try to access the table at this point FoxPro locks up.
It appears as if Fox has 'lost' the reference to the table.
The table is not closed by the application, and if it were the CDX would be closed automatically.
The problem occurs in both the development and run-time environments.
I would appreciate any help.
I have recently started getting a problem on one system, where the application fails with the error 'Invalid File Descriptor'.
I have tried running under TAME, and changing memory allocation in config.fp (MEMLIMIT) and the short-cut properties but cannot correct the problem.
When the error occurs the TAME process view shows that there are 20 file handles open (not such a large number when FILES in CONFIG.SYS is set to 250), but one of the tables used by the program shows the compound index CDX open but no file handle for the DBF.
At the command prompt after the error, LIST STATUS doesn't show this DBF, yet it shows in a work area after a SET command. If I try to access the table at this point FoxPro locks up.
It appears as if Fox has 'lost' the reference to the table.
The table is not closed by the application, and if it were the CDX would be closed automatically.
The problem occurs in both the development and run-time environments.
I would appreciate any help.