BSTR 转 char*

#include <comdef.h>

#include <comutil.h>

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

 

_bstr_t b = bstrText;

char* lpszText2 = b;

posted @ 2018-07-10 11:59  dozeoo  阅读(319)  评论(0编辑  收藏  举报