I need to execute an app from my service ...

seemingly it can't be done however..

i've tried ShellExec but i simply get a "Error, application failed to initialize 0x0..0142" error popping up

i need to do this because i cannot re-write the app yet it needs to run as a service for various reasons (its a work thing) can anyone help me out here

please don't tell me its not possible, but i fear that will be the case .. :(
Posted on 2003-05-13 06:01:30 by abc123

well it is very simple to make the service execute normal applications

simply specify:


when installing the service, as part of the serviceType paramater.
Posted on 2003-05-13 06:13:26 by abc123
I am not experienced with services, so I don't know if it would work but did you try CreateProcess ?
Posted on 2003-05-13 06:14:30 by JCP