Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Win32::NetAdminby devslashneil (Friar) |
on Aug 11, 2003 at 02:06 UTC ( [id://282722]=perlquestion: print w/replies, xml ) | Need Help?? |
devslashneil has asked for the wisdom of the Perl Monks concerning the following question:
Hi Everyone,
I have been having a little bit of trouble writing a script which simply changes the passwords of all the Users on my system. At first when i called GroupGetMembers() i received the error 'GroupGetMembers() failed Overlapped I/O Operation' However when i replaced this with the 'LocalGroupGetMembers()' call this error was removed. Moving on i entered the 'UserGetAttributes()' call, however the script now produces the "failed Overlapped I/O" error for the 'UserGetAttributes()' call. As there is no 'LocalUserGetAttributes()' subroutine i am very unsure what to do next. I am running ActivePerl and the script has administrator priviledges. If i have left out any information please just ask. Any help would be much appreciated Here is the code which produces the error. Thanks a lot. Neil Archibald - /dev/IT -
Back to
Seekers of Perl Wisdom
|
|