摘要: 最近一个转换文件的程序,在转换大批量文件是老是 stack overflow。查来查去。。原来是 在大循环中用了W2A和A2W两个宏。MSDN的 TN059: Using MFC MBCS/Unicode Conversion Macros 有描述,这两个宏在大循环中要有特殊的写法,不然保不准就 stack overflow。Other ConsiderationsDo not use the macros in a tight loop. For example, you do not want to write the following kind of code:Copy Codevoi 阅读全文
posted @ 2009-07-10 10:30 冷寒生 阅读(882) 评论(0) 推荐(0) 编辑
IT知识库