2
任何人都有这个问题。文件始终文件返回false存在:波科::文件::存在总是返回假
std::string filePath = "C:\\Windows\\system32\\SnippingTool.exe";
Poco::File file(filePath);
bool exist = file.exists(); // Should return true. But alway return false.
您是否尝试过使用其他文件? – kvorobiev
是不是'System32'? – Hacketo
这与问题来自:http://stackoverflow.com/questions/9993733/system-io-file-existsc-windows-system32-snippingtool-exe-returns-false –