I'm trying to load a plugin from the same directory the application was run from, so I'm doing the following:
int main(int argc, char **argv) { //... fs::path path(argv[0]); fs::path dir(path.branch_path()); //...
but as soon as I start the application as './application', I get an exception telling me that ...
boost::filesystem::path: invalid name "." in path: "./application"
What am I missing ?
Thanks, Stefan
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost