Hi, Thanks for your help. I am getting worse problems when I try to run the "simple_ls" example from the boost distribution. It throws an unexpected exception (somewhere in detail::get_current_path_api()). In the meanwhile I found out it is not Cygwin that is in the way, but it looks like some missing compiler/linker option: When I compile "simple_ls" in a new project in Visual Studio 2005 as a win32 application it works fine, but when I use a custom Visual Studio 2005 project that uses bjam, I get the runtime exception again. Identical for Cygwin builds.
Please provide a command line with which you built your example.
Anyway, I really hope you can help me, I am struggling with this all day. Coming back to your question, these are the commands when I compile it in Cygwin: $ bjam -d2 ...patience... ...found 380 targets... ...updating 2 targets... file bin\msvc-8.0\debug\optimization-speed\threading-multi\simple_ls.obj.rsp "simple_ls.cpp" -Fo"bin\msvc-8.0\debug\optimization-speed\threading-multi\simple_ls.obj" -TP /O2 /Z7 /Ob0 /W3 /GR /MDd /Zc:forScope /Zc:wchar_t /wd4675 /EHs -DBOOST_WINDOWS_API -c -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB=1 -DBOOST_WINDIOWS_API -D_CRT_SECURE_NO_DEPRECATE -D_WIN32_WINNT=0x0501 "-IC:\cygwin\home\Andrej\speedo\trunk" "-IC:\cygwin\usr\local\include\boost-1_35" compile-c-c++ bin/msvc-8.0/debug/optimization-speed/threading-multi/simple_ls.obj cmd.exe /S /C call "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86 ">nul" "&&" cl /Zm800 -nologo @"bin\msvc-8.0\debug\optimization-speed\threading-multi\simple_ls.obj.rsp" simple_ls.cpp file bin\msvc-8.0\debug\optimization-speed\threading-multi\simple_ls.exe.rsp "bin/msvc-8.0/debug/optimization-speed/threading-multi/simple_ls.obj" "boost_filesystem-mt.lib" "boost_system-mt.lib" msvc.link bin/msvc-8.0/debug/optimization-speed/threading-multi/simple_ls.exe cmd.exe /S /C call "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86 ">nul" "&&" link /NOLOGO /INCREMENTAL:NO /DEBUG /subsystem:console /out:"bin\msvc-8.0\debug\optimization-speed\threading-multi\simple_ls.exe" /LIBPATH:"C:\cygwin\usr\local\lib" @"bin\msvc-8.0\debug\optimization-speed\threading-multi\simple_ls.exe.rsp" if test -e "bin/msvc-8.0/debug/optimization-speed/threading-multi/simple_ls.exe.manifest"; then cmd.exe /S /C call "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86 ">nul" "&&" mt -nologo -manifest "bin\msvc-8.0\debug\optimization-speed\threading-multi\simple_ls.exe.manifest" "-outputresource:bin\msvc-8.0\debug\optimization-speed\threading-multi\simple_ls.exe;1" fi Cheers, Andrej __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html