Attached you will find a small sample application that is used to start and stop the HTTP server on a running system dynamically. This for example is very usefull if you want to update web resources during development (e.g. ISAPI extensions).
Could you please post the executable as well, suitable for the PicoCom3.
I'm not sure what is going wrong but I can't get VS2008 to build the solution properly.
The executable is attached to this post.
BTW: There is another possiblity to start/stop/restart HTTPD by using "services" command:
See <!-- m --><a class="postlink" href="http://msdn.microsoft.com/en-us/library/ms937757">http://msdn.microsoft.com/en-us/library/ms937757</a><!-- m --> for more details.