CString to char*

char *p = (LPSTR)(LPCTSTR)cstr;

原文地址:https://www.cnblogs.com/panpanjy/p/3645175.html