Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dos box vs. semaphore-files

Status
Not open for further replies.

Roland

Programmer
Jul 29, 1999
43
DE
Hi there,<br>
I have some self-written dos-programs and want them to <br>
run under windows9x. So far, so good, I use the dos-box.<br>
My Programs are using a special file-system - not self-written; I<br>
bought it! - (e.g. for adress-datas ) <br>
with semaphore-files, that means: the<br>
data base, using index-files opens a <br>
'semaphore-data'.This data is necessary for multi-user-index-access.<br>
It is created from the first progam, that opens the <br>
database and is closed from the last program, <br>
that closes the database. There are are <br>
informations handled in the semaphore-file <br>
to prevent a collision from several programs when using the<br>
index-file.<br>
<br>
Now, back to the dos-boxes. In the first one, <br>
everything is ok.Running the program twice on the neighbour-PC,<br>
both systems hang completely, even a crtl-alt-del does not work.<br>
With good old<br>
DOS 6.22 I have no problems with my multi-user <br>
file system at all.<br>
<br>
Any idea? May be there a registry-key to handle the<br>
semaphore-access not so rigourous?<br>
For suggestions I would
 
Since it's been a long time since your post, I'll offer my little try at helping. First, some questions: if you were running this as multi-user in DOS, you must have kept the program on a server. Are you keeping the exe's on a server now? And, what networking system are you using now as compared to then? Are you doing a peer network when you previously used a server? If you have converted to a peer-to-peer relationship, I suggest you undo that change and revert to your server based operation. I know I've had problems with Win9x peer networks running (server) things that I could have easily done on an old Novell 3.12 system.
 
Hi mbuell, thanks for reply!<br>
<br>
EXE's and File-System are still(!) on the same old <br>
Novell 4.2 Server, all 75 users have the same old access rights.<br>
At the network, nothing was changed!<br>
Dos and Windows PC's have the Novell Client32 software for<br>
accessing the server. <br>
<br>
These programs are our main applications, so I was forced<br>
to format all windows95 PC's and put Dos 6.22 on it.<br>
Now my boss complains why I'm so backwardly.<br>
<br>
For any ideas I would be still greatly appreceated!<br>
<br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top