|
Boost Users : |
From: Tiziano Müller (tm_at_[hidden])
Date: 2004-12-26 16:04:22
Hi all
I'm developing a little application (at the moment with VS.NET), using
the boost::filesystem part to keep it portable.
In the code I use the is_directory() function which fails unexpected
when testing files with special characters ("little squares") in it.
I tracked it down to the GetFileAttributesA-function which gives the
error 123 ("The filename, directory name, or volume label syntax is
incorrect.").
After reading some pages in the internet, I assume that the only two
solutions would be a) rename all those files first or b) make an own
solution with the (unicode-enabled) function GetFileAttributesW which
makes my app less portable (and will give me some headaches again).
Is there a better solution?
Thanks in advance,
Tiziano
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net