• 6737阅读
  • 0回复

Windows dll中QString::toWCharArray()BUG,求解 [复制链接]

上一主题 下一主题
离线keyidadi
 
只看楼主 倒序阅读 楼主  发表于: 2010-03-28
1>------ 已启动生成: 项目: Auth, 配置: Debug Win32 ------
1>正在编译...
1>Auth.cpp
1>正在链接...
1>   正在创建库 F:\Asura\Desktop\M\Debug\Auth.lib 和对象 F:\Asura\Desktop\M\Debug\Auth.exp
1>Auth.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: static class QString __cdecl QString::fromWCharArray(wchar_t const *,int)" (__imp_?fromWCharArray@QString@@SA?AV1@PB_WH@Z),该符号在函数 "public: class QString __thiscall Auth::toAuthString(int)" (?toAuthString@Auth@@QAE?AVQString@@H@Z) 中被引用
1>Auth.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall QString::toWCharArray(wchar_t *)const " (__imp_?toWCharArray@QString@@QBEHPA_W@Z),该符号在函数 "public: class QString __thiscall Auth::toAuthString(int)" (?toAuthString@Auth@@QAE?AVQString@@H@Z) 中被引用
1>F:\Desktop\M\Debug\Auth.dll : fatal error LNK1120: 2 个无法解析的外部命令
快速回复
限100 字节
 
上一个 下一个