title: how can i execute from service
body: <p>i have a window service program and i need to start another executable from it ,but non  of the functions are executed in SvcMain. I searched for the solution but found somewhere written that the initialization should be completed in less than one second or else it wont execute so was the failure of my <code>createprocess</code> 
  they say for this to work you need to set <code>SetServiceStatus</code> to <code>service_start_pending</code>, but i cant find any document to illustrate it. how can i do this?</p>