BSTR 转 char*

#include <comdef.h>

#include <comutil.h>

#pragma comment(lib,"comsuppw.lib")

_bstr_t b = bstrText;

char* lpszText2 = b;

猜你喜欢

转载自www.cnblogs.com/nightnine/p/9288300.html