>Hi,
>
>I'm trying to make a program that creates a process (by using the CreateProcessAsUser api call), after impersonating to a new user (by using the LogonUser and ImpersonateLoggedOnUser api calls).
>
>The impersonation seems to be working fine, but the CreateProcessAsUser returns an error code.
>
>Below is the prg I'm using to make my tests.
>
>Any help will be appreciated.
>
>Regards,
>
>Fernando
>
>PS. I made up this test program using information contained in Message #
88880 and MSDN.
<snip>
See if
Re: Anybody using RUNAS utility Thread #
948554 helps.
--sb--