The following answer gives a solution using C#, I was wondering what the equivalent would be if one were using only c++ (not c++\cli)
System.IO.Directory.SetCurrentDirectory(System.AppDomain.CurrentDomain.BaseDirectory);
Is there anything in boost that might do the trick?
Based on this problem I've been having: Correctly creating and running a win32 service with file I/O