Re: Start a new process WITH a visible window from a service?
- From: "Simon Watson" <simon dot watson at sage dot com>
- Date: Mon, 9 Jan 2006 15:05:16 -0000
"Mikael" <Mikael@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F920E338-FDEF-4D96-B3E6-D0688DD56339@xxxxxxxxxxxxxxxx
> Hello!
> I have written a simple service from which I would like to initiate a new
> process that is started as a new window, visible for the user!!
> I have tried CreateProcess with new process and SW_SHOWNORMAL/SW_SHOW
e.t.c.
> flag active!! Process starts BUT no window appears?
> I also tried the ShellExecuteEx function with appropriate startup
parameters
> but process still starts with NO visible window.
> I made the test using "Notepad.exe" as the visible editor that is to be
> started!!
>
> How can I start a new VISIBLE process from my installed service?
> Should code example would really help! :)
>
> Best Regards,
>
Mikael,
IIRC, you need to set the service to 'interact with the desktop' in order to
be able to do things like this.
cheers
Simon
.
- Follow-Ups:
- Prev by Date: Re: Start a new process WITH a visible window from a service?
- Next by Date: Re: Fast way to allocate buffer for producer/consumer scenario
- Previous by thread: Re: Start a new process WITH a visible window from a service?
- Next by thread: Re: Start a new process WITH a visible window from a service?
- Index(es):
Relevant Pages
|
|