I believe my Runtime Library Settings are correct, I''ve double checked them against the poco Visual Studio project settings, Multi-threaded Debug DLL (/MDd) for debug builds. I've rebuild poco just to be sure the libs are correct.
It does work correctly under Visual Studio 2008. My guess is there's some build/link issue resulting in some incompatibility between the C++ runtime libs--but I'm not sure how to resolve this. I've not seen this sort of problem with VS2005 before.
Can anyone shed any light on what's going on here? Thanks.
- Code: Select all
#include <Poco/Path.h>
#include <Poco/DirectoryIterator.h>
void Process(const Poco::Path &path, const std::string &file)
{
std::string filename = path.toString() + file;
for (Poco::DirectoryIterator p(path); p != Poco::DirectoryIterator(); ++p)
{
if (p->isDirectory())
{
Process(p->path(), file);
}
}
}
int main()
{
Process("C:\\Temp\\", ".MAP");
return 0;
}





