
20 Apr
2011
20 Apr
'11
9:35 p.m.
On Wed, Apr 20, 2011 at 13:35, buster buster
i'm using "boost::filesystem::current_path().string()" from a dll
To quote the reference documentation: "The current path as returned by many operating systems is a dangerous global variable. It may be changed unexpectedly by a third-party or system library functions, or by another thread." It also depends on how you open the executable, and all kinds of other things. Be explicit about your paths, and have the program using your DLL tell you what path it wants you to use. ~ Scott