<?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>MS-Windows</anon>
    <anon>COM</anon>
    <anon>C</anon>
    <anon>Ruby</anon>
    <anon>COM</anon>
    <anon>C</anon>
  </categories>
  <description>C++ を Haskell から呼ぶのが大変だというのが分ったので、Ruby の win32ole.c を参考にC言語で Excel を操作する関数を書いてみました。 これらの関数を Haskell から呼べば HaskellでExcel を操作出来ます(^^)/ C++ ではシートから行・列を指定してCellsオブジェクトを取得しましたが、C で同じ方法だと取得に成功はするものの文字化け。 シートからRengeとセル名 &quot;C2&quot; を指定してDISPID_PROPERTYGET を指定して invoke 関数を呼びました。 DISPID_PROPERTYPUT のときは渡すパラメータが別に必要…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20101011%2F1286763001&quot; title=&quot;COM を学ぶ(6) : C言語でExcel を操作する(Mingw) - 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>2010-10-11 11:10:01</published>
  <title>COM を学ぶ(6) : C言語でExcel を操作する(Mingw)</title>
  <type>rich</type>
  <url>https://sirocco.hatenadiary.org/entry/20101011/1286763001</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
