改写成图二形式也不行
std::string str(fname.GetBuffer());
或者
//添加头文件 #include <atlstr.h> std::string str = CT2A(fname.GetBuffer());