天天看點

error LNK2001: unresolved external symbol "void __stdcall _com_issue_error (long)"

 程式編譯出現錯誤:error LNK2001: unresolved external symbol "void __stdcall _com_issue_error (long)"

一般來說是缺少一個庫:

在project->settings->Link頁中的Object/library modules加入comsupp.lib

摘自:http://blog.csdn.net/livingpark/article/details/3503186

出現:'_variant_t' : undeclared identifier

一般是缺少頭檔案引起的,#include "comutil.h"即可。