#define _AFXDLL
#include <iostream>
#include <cstring>
#include <afx.h>
using namespace std;
int main(){
char *file = "中国";
CString cstring = CString(file);
BSTR bstr = cstring.AllocSysString();
}
char* 转 BSTR
最新推荐文章于 2022-07-11 07:36:00 发布