DOSBox file locking

General information and assistance with DOSBox.

DOSBox file locking

Postby sc0ffer » 2018-10-04 @ 13:01

Hello. I'm running a DOS programs in DOSBox on a few computers in network. This program open a text file for writing. In Windows XP i can open this file only from one instance of program - other instances shows error message (file is blocked by other user). But in DOSBox instances on Windows 10 it doesn't happend. Few users rewrites that file and getting data corruption. Looks like file oplocks doesn't work. Is there any options for file opening in DOSBox?
sc0ffer
Newbie
 
Posts: 2
Joined: 2018-10-04 @ 12:49

Re: DOSBox file locking

Postby Qbix » 2018-10-04 @ 14:32

Gve vdos a try.

if that doesn't work, send us an email (crew page on dosbox.com) as I have some code/builds that should work as well.
Water flows down the stream
How to ask questions the smart way!
User avatar
Qbix
DOSBox Author
 
Posts: 10674
Joined: 2002-11-27 @ 14:50
Location: Fryslan

Re: DOSBox file locking

Postby sc0ffer » 2018-10-05 @ 06:08

Qbix wrote:Gve vdos a try.

if that doesn't work, send us an email (crew page on dosbox.com) as I have some code/builds that should work as well.

Thanks for reply. vDos seems to works right on file locking! Is there any hope that DOSBox will support this feature? Thanks anyway.
sc0ffer
Newbie
 
Posts: 2
Joined: 2018-10-04 @ 12:49

Re: DOSBox file locking

Postby olddos25 » 2018-10-05 @ 10:13

Not likely, because that isn't a function really neccesary for running games, which is DOSBox's main goal.
Currently mod on several Discord servs and a forum, so you can trust me if you want a DOSBox mod here!
Other places to find me:
DraStic: http://drastic-ds.com (as dsattorney)
EPForums: http://www.epforums.org (as emulationfan)
olddos25
Member
 
Posts: 181
Joined: 2017-5-14 @ 02:34
Location: Argentina


Return to DOSBox General

Who is online

Users browsing this forum: istellabot [Bot] and 3 guests