BSTRからCStringの変換

OLE2Tマクロというのがある。

USES_CONVERSION; // 。変換のためのリソースを確保するためのもの?
CString str = OLE2T(*a);


ネタ元