{"height":"190","categories":["COM","CPP"],"version":"1.0","type":"rich","title":"CString\u304b\u3089BSTR\u3092\u4f5c\u308b\u306b\u306fAllocSysString()/SetSysString()\u3092\u4f7f\u3046","url":"https://blog.systemjp.net/entry/2014/03/02/092701","author_url":"https://blog.hatena.ne.jp/shikaku/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.systemjp.net%2Fentry%2F2014%2F03%2F02%2F092701\" title=\"CString\u304b\u3089BSTR\u3092\u4f5c\u308b\u306b\u306fAllocSysString()/SetSysString()\u3092\u4f7f\u3046 - shikaku&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://blog.systemjp.net/","author_name":"shikaku","provider_url":"https://hatena.blog","published":"2014-03-02 09:27:01","description":"Microsoft Foundation Class\uff08MFC\uff09\u306b\u306f BSTR \u3092\u30e9\u30c3\u30d7\u3059\u308b\u30d8\u30eb\u30d1\u30fc \u30af\u30e9\u30b9\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u4ee3\u308f\u308a\u306b\u3001\u5225\u306e\u65b9\u6cd5\u3067 BSTR \u3068 MFC \u306e CString \u30af\u30e9\u30b9\u9593\u306e\u5909\u63db\u304c\u7c21\u5358\u306b\u884c\u3048\u307e\u3059\u3002\u6b21\u306e\u3088\u3046\u306b BSTR \u3092 CString \u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306b\u6e21\u3059\u3060\u3051\u3067 BSTR \u3092 CString \u306b\u5909\u63db\u3067\u304d\u307e\u3059\u3002 CString strFoo(bstrMsg); CString \u3092 BSTR \u306b\u5909\u63db\u3059\u308b\u306b\u306f\u3001CString \u30af\u30e9\u30b9\u306e\u30e1\u30bd\u30c3\u30c9\u306e\u3046\u3061\u3001\u65b0\u3057\u3044 BSTR \u3092\u4f5c\u6210\u3059\u308b AllocSysString\u3001\u307e\u305f\u306f BSTR \u306e\u518d\u5272\u308a\u5f53\u3066\u3092\u3059\u308b SetSysString \u306e\u3044\u305a\u2026","blog_title":"shikaku's blog","width":"100%","provider_name":"Hatena Blog","image_url":null}