Board index » delphi » How to move the PDOXUSRS.LCK file ?

How to move the PDOXUSRS.LCK file ?

A client machine is running a Delphi 2 application from a directory on
an NT server. The client machine has only read rights.
This app accesses PDOX tables on the client's local drive. The alias
is set to this directory. When the app starts up, it moans, because it
tries to write the PDOXUSRS.LCK file to the server's directory.

Is there any way of specifying that this file should go somewhere else?

The NETDIR parameter is set to the local drive.

Thanks
L.J. van Alphen
l...@ccii.co.za

 

Re:How to move the PDOXUSRS.LCK file ?


Quote
l...@ccii.co.za wrote:
>A client machine is running a Delphi 2 application from a directory on
>an NT server. The client machine has only read rights.
>This app accesses PDOX tables on the client's local drive. The alias
>is set to this directory. When the app starts up, it moans, because it
>tries to write the PDOXUSRS.LCK file to the server's directory.

>Is there any way of specifying that this file should go somewhere else?

This is probably the same problem as with Paradox tables on CD-ROM.

To stop the BDE from attempting to create lock files on a CD-ROM (or a
read-only file server):

1) Read Borlands TI3104 (available from Borland Online)

or

2) Locate the PARADOX.LCK and PDOXUSRS.LCK files somewhere on your
Delphi CD and copy them to the same directory as your Paradox files.

or

3) Read the previous weeks (very animated) postings in
comp.lang.pascal.delphi.databases regarding this topic.

+-------------------------+---------------------------+
|  Anders Bo Melander     | Phone: (+45) 31 87 91 26  |
|  Finsensvej 79, 2. tv.  | mailto:a...@biocat.ruc.dk |
|  DK-2000 Frederiksberg  |                           |
|  Denmark                | (This space for rent :-)  |
+-------------------------+---------------------------+
| http://ftp.frontier.dk/public/Delphi2/tbedit01.html |
+-----------------------------------------------------+

Other Threads