Oh I can RUN an app using WinEXEC, BUT it has to interact with the desktop.......oh...but hang on...I am lloking for the handle of a window...i.e. if an app. Stops running it opens another....DUH...I guess I DO need to interact with the desktop....DOH...well it WAS late ;-)
Jeremy -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Moises Lopez Sent: Wednesday, 29 October 2003 20:14 To: Multiple recipients of list delphi Subject: Re: [DUG]: Running an app from NT Service nope, i'm running a service on w2k and i use WinExec to launch another program no problems so far. At 11:34 PM 10/28/2003 +1300, you wrote: >Hi All. >Do I have to have interact with desktop selected to make an NT Service >run >another app? >I am using WinExec to run the fiel. Should I do it anotehr way? or am I >stuck with desktop interaction being needed? > >Cheers, > >Jeremy Coulter > > >----------------------------------------------------------------------- >- >All email scanned with Nortons Antivirus 2003 >----------------------------------------------------------------------- - > > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.530 / Virus Database: 325 - Release Date: 10/23/2003 --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/