VC编译遇到的两个问题

1bstrerrorLNK2019:无法解析的外部符号char*__stdcall_com_util::ConvertBSTRToString(wchar_t*)的解决办法Settingoftheprojectin”C/C++->Language->Treatwchar_tasBuilt-InType”to”No”(originallyitwas:”Yes(/Zc:wchar_t)”.2无法打开文件”LIBC.lib”解决办法解决:在“配置属性->链接器->输入->忽略特定库”后填入“LIBC.lib”。  LIBC.lib介绍  google一下,libc.lib原来是被遗弃的可怜家伙。MSDNLabs:What”sNewinVisualC++2005Quote:Thesingle-threadedCRTlibraries,,msvcrt.lib,andmsvcrtd.lib,.Usethemulti-threadedCRTlibraries.The/MD,/ML,/MT,/LD(UseRun-TimeLibrary)compilerflagisnolongersupported.Non-lockingversionsofsomefunctionshavebeenaddedincaseswheretheperformancedifferencebetweenthemultithreadedcodeandthesingle-threadedcodeispotentiallysignificant.要解决问题的话,只要在链接设置那里忽略它就没问题了。文章出处:飞诺网www.firnow.com):http://dev.firnow.com/course/3_program/c++/cppsl/2008525/117866.html