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 .. :(
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 .. :(
hooray!
well it is very simple to make the service execute normal applications
simply specify:
when installing the service, as part of the serviceType paramater.
well it is very simple to make the service execute normal applications
simply specify:
or SERVICE_INTERACTIVE_PROCESS
when installing the service, as part of the serviceType paramater.
I am not experienced with services, so I don't know if it would work but did you try CreateProcess ?