Development Envinronment:
- OS: Windows 8
- IDE: Visual Studio 2010
- Boost Version: 1.55.0
I have a simple application which writes string to a file. Since I have to run the application as windows service, i'm using windows service api such as StartServiceCtrlDispatcher, RegisterServiceCtrlHandler etc. Everything works good in this way and life is good. But when I include boost header in the code I have problem starting the service from net start command. I'm including this
#include <boost/filesystem.hpp>
This is the error I'm getting
C:\WINDOWS\system32>net start aab
The service is not responding to the control function.
More help is available by typing NET HELPMSG 2186.
I'm using sc create aab binpath="path to executable" to create the service.
I dont' know how in the world boost is intefering and don't know how to debug it or find the solution.