Board index » delphi » Do I need to concern the access violation to query a Paradox Database

Do I need to concern the access violation to query a Paradox Database

Hello,

I am using paradox database to store some informations. The table can be
queried by several threads, I want to know if I need to give some protection
to the table when there are more than one thread access the same table the
same time.

Thanks in advance

 

Re:Do I need to concern the access violation to query a Paradox Database


Quote
dxm wrote:

> I am using paradox database to store some informations. The table can be
> queried by several threads, I want to know if I need to give some protection
> to the table when there are more than one thread access the same table the
> same time.

Not that I know. BDE's NetFileDir -setting points to the directory that
controls all the multi user record lockings, also with threads. Double
check to get the NetFileDir setting exactly right.

Also, make sure all the threads get their own PrivateDirectory for BDE. If
several threads use Queries and have the same PrivDirectory, then this may
cause problems when the temporary Query files in that directory start to
hassle.

Markku Nevalainen

Other Threads