【发布时间】:2015-05-19 10:08:00
【问题描述】:
有人遇到过这个问题。对于文件存在,文件总是返回 false:
std::string filePath = "C:\\Windows\\system32\\SnippingTool.exe";
Poco::File file(filePath);
bool exist = file.exists(); // Should return true. But alway return false.
【问题讨论】:
-
你试过其他文件吗?
-
不是
System32吗? -
在这里回答了 wpf 但这是同一个目录问题stackoverflow.com/questions/11745608/…
标签: c++ poco poco-libraries