Multithreading BDE Access
Although database programming isn't really discussed until later in the book, this section is intended to give you some tips on how to use multiple threads in the context of BDE database development. If you're unfamiliar with database programming under Delphi, you might want to look through the later database chapters prior to reading on in this section.
The most common request for database applications developers in Win32 is for the capability to perform complex queries or stored procedures in a background thread. Thankfully, this type of thing is supported by the 32-bit Borland Database Engine (BDE) and is fairly easy to do in Delphi.
There are really only two requirements for running a background query through, for ...