Re: file lock() and share.exe

John Charlton
2003-09-12T13:42:26Z

On Friday 12 September 2003 06:21, Bart Oldeman wrote:
> On Thu, 11 Sep 2003, John Charlton wrote:
> > I have a dos application compiled with djgpp compiler in dosemu. A call
> > to the lock() function which works in native freedos (beta 8) always
> > returns -1 (failed) in dosemu. I first used dosemu 1.0.2.0 which
> > installs with SuSE Linux 8.2 distribution. I just installed dosemu-1.1.5
> > and observe the exact same behavior. The freedos version used with
> > dosemu-1.1.5 is:
> > FreeDOS kernel version 1.1.24c (Build 2024c) [Jun 10 2001 22:25:01]
>
> you'll need to upgrade your freedos kernel. Replace your kernel.sys with
> v. 2031 at http://freedos.sourceforge.net (fat16/32 doesn't matter).
>
> Beware of "unzip" and uppercase: use "unzip -L" otherwise you end up with
> KERNEL.SYS and kernel.sys.
>
> share.exe has absolutely no effect on the "network drives" (from
> lredir) that DOSEMU uses by default.
>
> Bart

Thank you. This definitely does the trick! Works as advertised. No
share.exe loaded the lock works.

--John