home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
progc
/
c_all592.arj
/
TI1000.ASC
< prev
next >
Wrap
Text File
|
1992-04-29
|
2KB
|
67 lines
PRODUCT : Paradox Engine NUMBER : 1000
VERSION : All
OS : All
DATE : April 29, 1992 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.