Re: CreateProcessWithLogonW

new topic     » goto parent     » topic index » view thread      » older message » newer message

----- 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. smile
> 
> > -- 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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu