CString转char*
CString str = _T("中国");
USES_CONVERSION;
char *p = T2A(str.GetBuffer(0));
str.ReleaseBuffer();
CString str = _T("中国");
USES_CONVERSION;
char *p = T2A(str.GetBuffer(0));
str.ReleaseBuffer();
本文作者:vanxkr
本文链接:http://www.vanxkr.com/2019/7/mfc-note
版权声明:本博客所有文章除特别声明外,均采用CC BY-NC-SA 3.0许可协议。转载请注明出处!