Hi Wilfried,

> To run the second program I use ShellExecute(0, 'open', ExeName, nil,
> nil, SW_SHOW). This runs fine, but when I run the server as NT Service
> then ShellExecute does nothing anymore :(

You may have to explicitly specify the account under which the (NT 
Service) Server process is running. By default, it's probably Local 
System, and you may want to turn that into an actual account that has 
permission to run the ShellExecute...

> Rgds, Wilfried
> http://www.mestdagh.biz

Groetjes,
           Bob Swart (aka Dr.Bob - www.DrBob42.com)

-- 
Bob Swart Training & Consultancy (eBob42) - Borland Technology Partner
Delphi 2005 self-study training books: http://www.drbob42.com/training
__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to