lstrlenWInternal链接错误

    有的时候可能出现如下错误(vc6.0工程转vs2005后):

1>H264Addin.obj : error LNK2019: unresolved external symbol "int __stdcall lstrlenWInternal(wchar_t const *)" (?lstrlenWInternal@@YGHPB_W@Z) referenced in function "public: virtual long __stdcall CH264Addin::Start(wchar_t *)" (?Start@CH264Addin@@UAGJPA_W@Z)
1>.\ReleaseMinSize\CameraPlugin.dll : fatal error LNK1120: 1 unresolved externals

    此错误是只要用到了有关字符串的相关函数时就会出现,解决方法是将工程的wchar_t改成非内嵌就行了,如下图所示:

相关文章
相关标签/搜索