in reply to Error: Incorrect function when using Win32::AdminMisc::CreateProcessAsUser

What version of Windows are you running this code on?

Jason L. Froebe

Blog, Tech Blog

  • Comment on Re: Error: Incorrect function when using Win32::AdminMisc::CreateProcessAsUser

Replies are listed 'Best First'.
Re^2: Error: Incorrect function when using Win32::AdminMisc::CreateProcessAsUser
by merlinX (Novice) on Dec 23, 2010 at 08:07 UTC
    I tested this on a windows XP Win32::GetOSVersion() dump shows
    $VAR1 = [ 'Service Pack 3', 5, 1, 2600, 2, 3, 0, 256, 1 ];
    I tested this also on a windows 2003 Win32::GetOSVersion() dump shows
    $VAR1 = [ 'Service Pack 2', 5, 2, 3790, 2, 2, 0, 272, 3 ];