码迷,mamicode.com
首页 > Windows程序 > 详细

windows 打印刻录 代码规范及问题

时间:2017-12-08 12:16:31      阅读:232      评论:0      收藏:0      [点我收藏+]

标签:null   lex   byte   length   tle   rom   tom   str   获取   

 

1、获取CString字节数

int z_Len = WideCharToMultiByte(CP_ACP, 0, z_FileXml.GetBuffer(), z_FileXml.GetLength(), NULL, 0, NULL, NULL);
z_Len+=1;

z_XmlChar = new char[z_Len];
ZeroMemory(z_XmlChar, z_Len);

windows 打印刻录 代码规范及问题

标签:null   lex   byte   length   tle   rom   tom   str   获取   

原文地址:http://www.cnblogs.com/wangjian8888/p/8004233.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!