I'm writing an application that has to open a preexisting BDE database that has been saved by a third party.
In this application, I currently have a TDatabase
(DriverName
: STANDARD
) with path
set correctly in Params
.
I can now set Connected
to true without an error message.
There is also a TTable
with DatabaseName
set to the values of the TDatabase and TableName
set to the .db-file that lies in the folder (the name was automatically filled in, I only hat to select it).
Now the problem:
If I set Active
to true, an error message complains about missing access rights for C:\PDOXUSRS.NET
.
I know I could set another path using BDEADMIN
, but I need to solve this in my application - I can't expect every customer to do this change.
Furthermore, I have a test machine with the third party application running - it can access the database without any error, while my application throws the aforementioned error. This leads me to the suspicion there might be a workaround.
Is there such a workaround?
I only need read access to the database.