c++
文章平均质量分 79
GodShare
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Setimer和Ontimer的使用
关于OnTimer()函数的填写,对于CDialog,可以Ctrl+W中添加;对于SetTimer可以在初始化当中添加!OnTimer()函数是响应用SetTimer()函数设定的时钟发送的时钟消息的,你没设定时钟,就不会有时钟消息,OnTimer()里的语句当然也不会被调用。为类添加VM_TIMER消息响应,会看到类中多了个OnTimer(UINT nIDEvent)。转载 2014-04-24 16:14:57 · 1207 阅读 · 0 评论 -
win32/mfc/qt 异常处理与总结
win32/mfc/qt 异常处理与总结实际异常一:libcpmtd.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol __CrtDbgReportDebug/B机.exe : fatal error LNK1120: 1 unresolved externals处理办法:property pa转载 2014-04-28 10:35:04 · 1000 阅读 · 0 评论 -
ReadString在UNICODE下中文乱码的解决办法(Char型字符和Unicode字符的转换问题)
CStdioFile file; if (!file.Open(m_File_Path, CFile::modeRead)) return; CString strLine; while (file.ReadString(strLine)) { //strLine处理 }问题: CStdioFile在_MSB转载 2014-04-28 15:09:21 · 690 阅读 · 0 评论
分享