LockFile() and UnlockFile() are working
Bill Medland
billmedland at mercuryspeed.com
Fri Mar 21 19:07:56 CST 2003
On March 21, 2003 04:59 pm, Alexandre Julliard wrote:
> Paul McNett <p at ulmcnett.com> writes:
> > I just confirmed... while locking seems to work if two instances of
> > Visual Foxpro are running on Wine on the same machine, it DOES NOT work
> > over the network. I had one instance on Wine and one instance on WinNT.
> > Both instances were interacting with the same table on a third machine.
> > The two instances of Visual FoxPro did not respect each other's locks.
> > Bummer. Big bummer.
>
> AFAIK the Samba filesystem doesn't support locking.
Only the smbfs bit (which of course is not actually Samba)
> Locks should work
> across the network with NFS, but of course from a Windows machine that
> might be a problem. I'm afraid we can't do much in Wine, this will
> require fixing smbfs.
The Samba server does the right thing, so host the file on unix/linux.
>
> > So... chances of this ever getting implemented on Wine are, in your
> > opinion, pretty slim? If so that's too bad, because I saw a great
> > possibility of porting lots of legacy business apps over to Linux using
> > Wine. There are, as I said before, a ton of apps out there built on
> > desktop database software... bummer.
>
> Actually if you mount with the right options and set the right
> permissions on the file, mandatory locking should work. That's the
> theory though, I haven't tested it...
--
Bill Medland
ACCPAC International, Inc.
medbi01 at accpac.com
Corporate: www.accpac.com
Hosted Services: www.accpaconline.com
More information about the wine-devel
mailing list