LNK2019:函数“ private:int __cdecl StartProcess :: ComInit(void)”中引用了无法解析的外部符号__imp_GetComName

时间:2019-10-18 02:21:02

标签: c++ qt qt-creator

我在64位Windows 7中使用Qt Creator 4.10.0。当我编译项目(编译器为32位时,会出现此问题:

original node: <bar name="b2">bar2</bar>
path: /foo/bar[2]
re-queried node: <bar name="b2">bar2</bar>

我的专业文件

startprocess.obj:-1: error: LNK2019: unresolved external symbol 
__imp_GetComName referenced in function "private: int __cdecl 
StartProcess::ComInit(void)" (?ComInit@StartProcess@@AEAAHXZ)

0 个答案:

没有答案