我查MSDN有int Find( TCHAR ch ) const,但是为什么应用的时候却出现
error C2664: 'int __thiscall CString::Find(unsigned short) const' : cannot convert parameter 1 from 'char [2]' to 'unsigned short'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast版本有变化么?请指教
error C2664: 'int __thiscall CString::Find(unsigned short) const' : cannot convert parameter 1 from 'char [2]' to 'unsigned short'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast版本有变化么?请指教
解决方案 »
- 很菜的基础问题,困扰我很久了
- 看中了一个妞,想泡她,可是她每次赴约总是带着一个女灯泡!怎么让她一个人赴约呀?
- 爱太深 断了魂!
- vc程序创建空文档失败
- 新增com接口方法,当客户端调用时返回异常
- 在程序关闭的时候,报错,内存不能written!
- 如何让button处于按下状态?
- 异步通信中socket[MAXSOCKET]中MAXSOCKET大小的问题!
- 请问可停靠窗口怎么充满view类
- ======== 那位大哥对RDP protocol 有研究 ================
- 请高手给我解释一下这段代码是怎么工作的。
- 为什么我直接FTP浏览文件内容 MESSAGEBOX 前部分正常全部显示内容,后部分增加多余乱码
MultiByteToWideChar();
INT iPos = sRet.Find(";");sRet就是一个CString类型的变量