title: Inclusion of certain libraries causes service not to start C++ (fastcgi)
body: <p>I am writing a simple service in c++. I have copied the example on
  <a href="http://www.codeproject.com/Articles/499465/Simple-Windows-Service-in-Cplusplus" rel="nofollow">http://www.codeproject.com/Articles/499465/Simple-Windows-Service-in-Cplusplus</a></p>
  
  <p>verbatim, and everything works fine. Now I needed to add my code for the working thread. I add all of my files to the project, and at this point I still have the exact code from the link, so my project isn't really even using the other cpp/h files I just added. I try to start the service, and boom "cannot start in a timely fashion".</p>
  
  <p>I have tried commenting out of the method definitions of the cpp files I have added, and I've figured out that any method that uses a function from the fastcgi libraries </p>
  
  <p>(found here : <a href="http://www.fastcgi.com/drupal/" rel="nofollow">http://www.fastcgi.com/drupal/</a>)</p>
  
  <p>causes the service not to start. If I comment out every method uses the fastcgi library, the service will start (but I kind of need those).</p>
  
  <p>Is there any way I can figure out why the use of these libraries are causing the windows service I'm making not to start? (everything works fine as a console application)</p>
  
  <p>Thanks</p>