Re: CreateProcessWithLogonW
- Posted by "Derek Parnell" <ddparnell at bigpond.com> Mar 01, 2004
- 690 views
----- Original Message ----- From: "Markus Schaller" <markus.schaller at web.de> To: <EUforum at topica.com> Subject: RE: CreateProcessWithLogonW > > > > -- I have added the CreateProcessWithLogonW and constants to the > > -- w32engin.ew version 6.40 which can be downloaded here: > > http://www.rapideuphoria.com/w32engin.zip > > Thanks for adding this to your w32engin. > > > -- If you are running windows 2000 or XP. > > Yes, I'm using Windows 2000; CreateProcessWithLogonW is accessible > > And thank you for the example. > Unfortunately the function call fails and GetLastError() still returns > ERROR_INVALID_PARAMETER. > Do you have any idea? > Yes. I've already told you this is a Wide character (unicode) version of the function. So unless you are going to send it unicode strings, use CreateProcessWithLogonA instead. -- Derek