<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sirocco</author_name>
  <author_url>https://blog.hatena.ne.jp/sirocco/</author_url>
  <blog_title>sirocco の書いてもすぐに忘れるメモ</blog_title>
  <blog_url>https://sirocco.hatenadiary.org/</blog_url>
  <categories>
    <anon>MinGW</anon>
    <anon>COM</anon>
    <anon>MS-Windows</anon>
    <anon>Haskell</anon>
  </categories>
  <description>Haskell から COM を呼ぶ場合 HaskellからSJISに変換した後に MultiByteToWideChar、 WideCharToMultiByteを使用していましたが、Haskell はUcs4、COMはUTF16を使っていますので、日本語で使う分には文字コードを変換する必要はありません。 SysAllocString を使って BSTR を作り、COMを操作するバージョンです。 COMについてはRubyの記事ですが、以下が参考になります Win32OLE 活用法 【第 1 回】 Win32OLE ことはじめ Win32OLE 活用法 【第 2 回】 Excel Win32O…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20121109%2F1352425462&quot; title=&quot;COM を学ぶ(11) : HaskellでExcel(ワイド文字列バージョン) - sirocco の書いてもすぐに忘れるメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-11-09 10:44:22</published>
  <title>COM を学ぶ(11) : HaskellでExcel(ワイド文字列バージョン)</title>
  <type>rich</type>
  <url>https://sirocco.hatenadiary.org/entry/20121109/1352425462</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
