#include cause errors

前端 未结 3 1864
礼貌的吻别
礼貌的吻别 2021-02-04 00:08

VS 2010 C++ CLR Library project, errors on adding comutil.h library

> Error 20  error LNK2001: unresolved
> external symbol \"extern \"C\" long
> __stdc         


        
3条回答
  •  佛祖请我去吃肉
    2021-02-04 00:57

    Add the requisite import library as per the documentation, likely Oleaut32.lib

    http://msdn.microsoft.com/en-us/library/ms221236.aspx

    edit: I'm assuming the Compiler COM Support library subsumes this and Alex's answer would be the preferred library.

提交回复
热议问题