CString 对象的 AllocSysString 方法将 CString 转化成 BSTR 发表评论 CString s; s = "i love you"; BSTR b = s.AllocSysString(); 本文为“技术点滴”的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。原文链接:https://www.jsdd.net/cstring-allocsysstring-convert-cstring-to-bstr/