只需一步,快速开始
236a 发表于 2020-5-8 17:43 类型没看懂 是CString 转char* 吗
举报
Syc 发表于 2020-5-8 14:02 m_SerialPort.WriteToPort((char*)(LPCTSTR)m_strTxMsg); 如果工程当前是Unicode的话,这么强转肯定不行 ...
本版积分规则 发表回复
查看 »
|小黑屋|手机版|VC驿站 ( 辽ICP备09019393号-4 )|网站地图
GMT+8, 2023-12-10 09:06
Powered by CcTry.CoM
© 2009-2021 cctry.com