in reply to
Lanman Privleges?
the GetLastError function is part of
Win32
. If you do use Win32::NetAdmin, add
use Win32;
in order to access Win32::GetLastError(). You want to format it like this:
Win32::FormatMessage(Win32::GetLastError());
Comment on
Re: Lanman Privleges?
Select
or
Download
Code
Replies are listed 'Best First'.
(tye)Re: Lanman Privleges?
by
tye
(Sage)
on Jul 07, 2001 at 01:45 UTC
Or just use $^E.
-
tye
(but my friends call me "Tye")
[reply]
In Section
Seekers of Perl Wisdom