Subject Re: Running 2 .EXE files
From Mervyn Bick <invalid@invalid.invalid>
Date Wed, 13 May 2020 16:21:01 +0200
Newsgroups dbase.getting-started

On 11/05/2020 01:35, Michael wrote:

> It seems to work for a little while (say an hour or 2) but then the second .exe filters start to play up and it creates all types of errors.

This sounds as if your code is continually creating new objects in
memory but is not closing them properly when you're done with them. If
Windows can't free up memory which holds code which is no longer needed
this could account for your problems.

You need to take a very careful look at any NEW command in a loop
(especially a loop which is iterated after a very short delay) to make
sure the new objects are closed properly and are not simply left dangling.

> However, my question is, is there anyway to run a third party driver to replace the BDE or is there something we can do (without converting millions of lines of code to sql) to enhance the bde to not slow so much with larger files?

In one of the other news groups an ODBC driver which will purportedly
handle level dBASE tables is on offer at
https://www.devart.com/odbc/xbase/ for $150.  If they offer a free trial
this may be worth looking at using ADO in dBASE.


Mervyn.