Boost logo

Boost :

From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2003-05-28 11:37:57

hi there,

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 ?


Boost list run by bdawes at, gregod at, cpdaniel at, john at