error LNK2019: unresolved external symbol __imp__ func@20 referenced in function.. foman

从VC转换到VS2005 出现链接错误。

Linker Tools Error LNK2019。

http://msdn.microsoft.com/en-us/library/799kze2z(VS.71).aspx

解决方法: 将错误信息中提到的函数所需lib 添加到 Project Properties à Linker à Input—>additional deppendencies.

原文地址:https://www.cnblogs.com/foman/p/1341589.html