vc编译时出现
Linking...
officeView.obj : error LNK2001: unresolved external symbol __imp__PathFileExistsA@4
Debug/office.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
的错误
原因是缺少lib文件
解决办法:
加上这句
#pragma comment(lib, "shlwapi.lib.")
officeView.obj : error LNK2001: unresolved external symbol __imp__PathFileExistsA@4,布布扣,bubuko.com
officeView.obj : error LNK2001: unresolved external symbol __imp__PathFileExistsA@4
原文地址:http://www.cnblogs.com/wt1990/p/3809637.html