Hello,
I'm using strawberry perl 5.12.3 on winxp sp3, and I have a problem :(

I keep receiving this error message:

"Use of uninitialized value in subroutine entry.."

and this error code: "997"

when I try to use Win32API::Net's UserAdd():

UserAdd(
    '',
    1,
    {
        comment        => '',
        flags        => (
                Win32API::Net::UF_SCRIPT() & Win32API::Net::UF_NORMAL_ACCOUNT()
        ),
        homeDir        => '\\\\homeserver\\home\\' . $account,
        name        => $account,
        password    => $password,       
        passwordAge    => 0,           
        priv        => USER_PRIV_USER(),   
        scriptPath    => '',           
       
    },
    $error
);

Anyone can see what the problem is?
Thanks..

Reply via email to