Thank you, looks like you were right. I ran it outside Visual Studio with admin rights, but when I ran it in Visual Studio developer console (also with admin rights) before (when I tried to solve it with degski), I couldn't manage to make it work. Right now it looks like problem is solved, but it is weird it needs administrator rights, as I can iterate subdirectory on that specific drive (E:) without them. Weird. Thank you both for your time. :)
Richard Závodný via Boost-users wrote:
>
> I just wanna try it again here, maybe somebody will shop up who knows
> where is the problem as I unfortunately couldn't fix it with degski
> (but still, thank you for your time :)). His example (can be found
> below) doesn't work on my system.
>
Hi Richard,
Try running your console app as administrator outside of VS. This really
can have nothing to do with boost::filesystem as the first API call is
'::FindFirstFileW'. So it is the operating system that is limiting the
access to your app. I did a little searching but could find nothing
about VS settings. I do always run VS as administrator though. It keeps
such things from happening.
Best, Dan.
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users