关于链接时找不到_com_util::ConvertStringToBSTR()与_com_util::ConvertBSTRToString()的解决办法
2012-11-27 00:17
459 查看
这两个函数的声明虽然是在comutil.h中,但即使在用到的cpp文件中包含了comutil.h头文件,也是会在链接阶段报错,说是找不到这两个函数的符号.
解决办法就是#include<comdef.h>.据我猜测,comdef.h中包含了lib库的引用.
解决办法就是#include<comdef.h>.据我猜测,comdef.h中包含了lib库的引用.
相关文章推荐
- 无法解析的外部符号 "wchar_t * __stdcall _com_util::ConvertStringToBSTR(char const *)"的解决办法
- 无法解析的外部符号 "wchar_t * __stdcall _com_util::ConvertStringToBSTR(char const *)"的解决办法
- 无法解析的外部符号 "wchar_t * __stdcall _com_util::ConvertStringToBSTR(char const *)"的解决办法
- bstr error LNK2019: 无法解析的外部符号 "char * __stdcall _com_util::ConvertBSTRToString(wchar_t *)" 的解决办法
- 无法解析的外部符号 "wchar_t * __stdcall _com_util::ConvertStringToBSTR(char const *)"的解决办法
- 关于_com_util::ConvertBSTRToString”: 编译错误问题
- 关于_com_util::ConvertBSTRToString”: 编译错误问题
- _com_util::ConvertBSTRToString' : cannot convert parameter 1 from 'String' to to 'BSTR'
- 关于_com_util::ConvertBSTRToString”: 编译错误问题
- 关于android编程中遇到的Could not find class 'com.swetake.util.Qrcode错误的原因及解决办法
- 关于java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream解决办法
- error LNK2019: 无法解析的外部符号 "char * __stdcall _com_util::ConvertBSTRToString(转)
- Failed to convert from type java.lang.String to type java.util.Date for value………解决办法
- 关于Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005的解决办法
- ATL 中调用ConvertBSTRToString报错无法解析的外部符号 "char * __stdcall _com_util::ConvertBSTRToString(wchar_t *)
- _com_util::ConvertBSTRToString BUG解决方案(转载)
- Failed to convert from type java.lang.String to type java.util.Date for value………解决办法
- Failed to convert from type java.lang.String to type java.util.Date for value解决办法
- 关于java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream解决办法
- _com_util::ConvertBSTRToString