char* s1 = "zhangsan"; CString s2 = CString(s1); BSTR s3 = s2.AllocSysString();
char * 、BSTR类型转换
原文:https://www.cnblogs.com/shiyixirui/p/15228203.html