PRODUCT : Paradox Engine NUMBER : 1000 VERSION : All OS : All DATE : October 19, 1993 PAGE : 1/1 TITLE : Understanding the PARADOX.NET File The Paradox Engine uses the Paradox net file in the same way that Paradox does--to keep track of the number of users. Each Paradox user is given one count, while the Engine is assigned one count for all users. So, for example, if three Paradox and three Engine users use the same Paradox net file, the user count would be four (one for each Paradox user, and one of the three Engine users). The net file also regulates access to tables. Table access is enforced through the use of lock files, which are written out to the directories containing Paradox tables. A lock file points to a particular net file, which has exclusive control over the table. This means that any user wanting access to the table must use the net file that controls the table. In practice, this means that when your Engine program shares tables with Paradox users, you must initialize using PXNetInit, with netpath set to the Paradox net path. In the case of two Engine programs sharing tables, the net paths must be identical. The message "Multiple Paradox net file found" (Error PXERR_NETMULTIPLE) indicates that these rules have not been followed. If you are certain that all current users have the same net path, this message usually indicates that an old lock file exists that points to a different net file. Old lock files can be deleted if care is taken to ensure that no one is currently using them. Deleting active lock files can produce unpredictable results and could cause loss of data. DISCLAIMER: You have the right to use this technical information subject to the terms of the No-Nonsense License Statement that you received with the Borland product to which this information pertains.