in reply to Re^2: Overlapped i/o operation
in thread Overlapped i/o operation

You might try my $homeDir = UF_HOMEDIR_REQUIRED; if the homeDir isn't seen.

As for solving the error, the trick was in specifically stating UserGetAttributes to keep it from colliding with other exports; hence,

use Win32::NetAdmin qw( UserGetAttributes ); works.