Re: How to run a program silently with CreateProcessWithLogonW()?
- From: "Hector Santos" <nospamhere@xxxxxxxxxxxxxx>
- Date: Mon, 16 May 2005 22:52:54 -0400
"Alex Hong" <hctiaa@xxxxxxxx> wrote in message
news:u5fEz6nWFHA.796@xxxxxxxxxxxxxxxxxxxxxxx
>
>
> Well, I did made it when I used CreateProcess, the same setting does not
> work with CreateProcessWithLogonW.
>
> I am working on Windows Server 2003. And the parent process is also a
> console process. And, even if I set the creation flag to
!CREATE_NEW_CONSOLE
> or CREATE_NO_WINDOW, a new console window appears.
>
> The child process is written by myself, so I am quite sure it won't create
a
> new console.
>
> Any more bright ideas?
>
Hey, just throwing up some possibilities smart-a--. :-)
How are you calling the application? direct or with the comspec?
We don't have this problem and our product requires such windowless
sub-process runs as part its fundamental operations. So in lieu of showing
code, one can only suspect a mistake in the coding. This is done on a
regular basis.
PS: I believe you meant ~CREATE_NEW_CONSOLE if you are trying to not a bit
mask, but I don't see how that applies, since it is off by default.
----
Hector Santos, CTO
Santronics Software, Inc.
http://www.santronics.com
http://www.winserver.com/wcsap (Wildcat! Sender Authentication Protocol)
http://www.winserver.com/spamstats (WcSAP Anti-Spam Stats)
.
- Follow-Ups:
- References:
- How to run a program silently with CreateProcessWithLogonW()?
- From: Alex Hong
- Re: How to run a program silently with CreateProcessWithLogonW()?
- From: Hector Santos
- Re: How to run a program silently with CreateProcessWithLogonW()?
- From: Alex Hong
- Re: How to run a program silently with CreateProcessWithLogonW()?
- From: Hector Santos
- Re: How to run a program silently with CreateProcessWithLogonW()?
- From: Alex Hong
- How to run a program silently with CreateProcessWithLogonW()?
- Prev by Date: Re: Using CreateProcessAsUser or CreateProcessWithLogonW
- Next by Date: Re: How to run a program silently with CreateProcessWithLogonW()?
- Previous by thread: Re: How to run a program silently with CreateProcessWithLogonW()?
- Next by thread: Re: How to run a program silently with CreateProcessWithLogonW()?
- Index(es):
Relevant Pages
|