
(slaps forehead) SOLVED... The directory_iterator was causing the hang because I attempted to create an object of type path with a parameter that is causing problems. My path object scanPath displays "" as the path when that is not what was intended. Thus I will start a new thread that addresses that issue. That should be much easier to solve I hope. :-) Thank you all for your help with this aggravating problem. I really appreciate it. Thanks, Ryan RYAN ROSARIO <uclamathguy@yahoo.com> wrote: I am still stuck with this issue of a directory_iterator causing a hang when it is declared. This is one of the most bizarre things I have ever encountered. Some more clues have arisen since my last post: - Upon hanging, I now get a message box: Unhandled exception at 0x77e73887 in PICtool-w32.exe: Microsoft C++ exception: boost::filesystem::filesystem_error @ 0x0012f170. I seem to be getting *somewhere* although the message seems very vague. - Upon executing the app in the explorer (not MSVC), I get a Runtime Error: The app has requested runtime to terminate in an unusual way. - I ran Spy++ and see to get quite a few WM_GETDLGCODE messages. I have read that this can signify a problem. Has anybody else had a problem like this with the directory_iterator? Any help or suggestion is greatly appreciated as I have been stuck for quite a while. :-( FYI: MSVC .NET 2003, running as Multi-Threaded Debug DLL using the multi-threaded version of the Boost::Filesystem library. Thanks Again, Ryan --------------------------------- Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now._______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users --------------------------------- Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages!