现在的位置: 首页 > 综合 > 正文

关于错误的解决(1)

2013年12月19日 ⁄ 综合 ⁄ 共 141字 ⁄ 字号 评论关闭

1.VS2005中打开Unicode支持,把CString转换成char []

WideCharToMultiByte(   CP_ACP,   0,   str,   -1,   f,   MAX_PATH,   NULL,   NULL   );

其中str为CString ; f为char ; max_path为char大小

抱歉!评论已关闭.