vc编译时出现
Linking...
officeView.obj : error LNK2001: unresolved external symbol [email protected]
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 [email protected]
时间: 2024-12-19 08:44:18