hi
your example do work
the difference i notice is thatyou do not define static lib to compile with
like i
why is that ?
On Mon, May 12, 2008 at 10:34 AM, John Femiani
Yes, 1.34.1, installed by the installer, I used Visual Studio 2005, and I copied your code exactly except for changing 'I' to 'C'.
The project is attached, perhaps you can poke around and see what might be different.
-- John
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Meir Yanovich
Sent: Sunday, May 11, 2008 11:49 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] s_directory(path) returns false in windows ,path do exist
do u use Microsoft Visual C++ 2005 Express Edition? boost_1_34_1,libboost_filesystem-vc80-mt-1_34_1.lib? can you check with this setup? thanks
On Mon, May 12, 2008 at 9:45 AM, Meir Yanovich
wrote: no its not network drive what else can i check ?
On Mon, May 12, 2008 at 1:35 AM, John Femiani
wrote: Meir Yanovich:
sure the output is : I:\ddd\ccc the program is: #include <iostream> #include "boost/filesystem.hpp" using namespace boost::filesystem; > > using
namespace std; >
int main(int argc, char* argv[]) > > { path path("I:/ddd/ccc",native); cout << path.file_string(); if(exists(path)){ printf("is"); }else{ printf("none"); } return 0; }
Hmm,
I created a folder C:\ddd\ccc and ran your code exactly as it is. The result:
C:\ddd\cccis
So it works! (and your missing a newline in your output) > > > Is I: a network drive? If so, have you verified that it is connected?
-- John
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users