Boost logo

Boost Users :

From: Meir Yanovich (meiry242_at_[hidden])
Date: 2008-05-12 04:25:57


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 <JOHN.FEMIANI_at_[hidden]> wrote:
>
>
> 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_at_[hidden]
> > [mailto:boost-users-bounces_at_[hidden]] On Behalf Of
> > Meir Yanovich
>
> > Sent: Sunday, May 11, 2008 11:49 PM
> > To: boost-users_at_[hidden]
> > 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
> > <meiry242_at_[hidden]> wrote:
> > > no its not network drive
> > > what else can i check ?
> > >
> > >
> > >
> > >
> > > On Mon, May 12, 2008 at 1:35 AM, John Femiani
> > <JOHN.FEMIANI_at_[hidden]> 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_at_[hidden]
> > > > http://lists.boost.org/mailman/listinfo.cgi/boost-users
> > > >
> > >
> > _______________________________________________
> > Boost-users mailing list
> > Boost-users_at_[hidden]
> > http://lists.boost.org/mailman/listinfo.cgi/boost-users
> >
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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