Mail Archives: djgpp-workers/2003/04/22/10:18:42.1
Hello.
Eli Zaretskii wrote:
>
> > Date: Mon, 21 Apr 2003 19:50:25 +0100
> > From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
> > >
> > > --------N-215F46-----------------------------
> > > INT 21 u - LAN Manager Enhanced DOS - LOCAL NetUseEnum
> >
> > It works fine under Windows '95, '98, 2000/XP (whichever Andrew is using).
> > I expect it works under Windows NT 4 - after all, that was a "replacement"
> > for LAN Manager. I expect it to work under Windows ME too.
>
> I was worried about MS-DOS. Can someone please boot into plain DOS,
> even the one from Windows 9x, and see if the function works?
[snip]
I booted (*) into DOS from Windows '98 SE. The function failed with errno ==
EINVAL. "dir \\somemachine\someshare" from COMMAND.COM also failed with a "bad
value" message.
This is OK, I think.
I'm guessing you were worried that it might not fail, when there is no support
for UNCs. If that's the case, then I guess we could try to get the LAN Manager
version first (Int 21h/5F30h). If we can't get the version, then it should
just abort. We could do this as part of share_init(), so that we only get the
version once.
(*) By "boot" I mean I selected "Command Prompt only" at the boot menu. I
didn't try the MS-DOS mode option from the Shutdown menu. Well, I did, but
Windows crashed. Besides, "MS-DOS mode" isn't as pure DOS as selecting
"Command Prompt only" from the boot menu.
Bye, Rich =]
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
- Raw text -