帮找一下这个错误的原因!

liuxwin 2006-12-18 01:19:42
C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxinet.inl(39) : error C2664: 'GopherGetLocatorTypeW' : cannot convert parameter 1 from 'const char *' to 'const unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
这个错误是我在Release的时候产生的,我debug的时候编译就没有这个错误。这是怎么回事啊?
...全文
119 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
liuxwin 2007-04-10
  • 打赏
  • 举报
回复
定义的名字空间不对
BoXoft 2006-12-18
  • 打赏
  • 举报
回复
GopherGetLocatorType()的第一个参数 "..." 改为 _T("...")

18,356

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 网络编程
c++c语言开发语言 技术论坛(原bbs)
社区管理员
  • 网络编程
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧