pdoxusrs file / multi user access / local share
D3 app. Runs flawlessly. Uses BDE 4 and Paradox tables with referential
integrity.
I want to allow extra user(s) to use the application via peer-to-peer
Win95/98 network.
I have tried 3 different scenarios:
--ONE (the usual setting which works fine with Delphi apps using dBASE
files)
Setting: No special settings or coding.
Result: Users can use app and access tables without problem.
But, only the changes of one user are stored!
--TWO (as advised by Paradox 8 readme)
Setting: "LOCAL SHARE" to TRUE in the BDE Configuration Utility on the
System page.
Results: The second user trying to run the app gets no access:
Error message: "Directory controlled by .NET file."
Location of Lock files:
PDOXUSRS.NET in local root.
PARADOX.LCK in app working directory.
PDOXUSRS.LCK in app working directory.
Note: It does not matter whether the user working on the PC that acts as
the server also has LOCAL SHARE set to true.
--THREE
Setting: Coding in delphi to force the LCK directory to be local:
Session.PrivateDir to local directory.
Result: As in scenario TWO except the location of the lock files is
different.
Location of Lock files:
PDOXUSRS.NET in local root.
PARADOX.LCK in local root.
PDOXUSRS.LCK in local root.
PDOXUSRS.LCK in app working directory.
Anyone any idea how to allow multiple access?
Marcel Brugmans