<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Z1000S</author_name>
  <author_url>https://blog.hatena.ne.jp/Z1000S/</author_url>
  <blog_title>空腹おやじのログと備忘録</blog_title>
  <blog_url>https://z1000s.hatenablog.com/</blog_url>
  <categories>
    <anon>VBA</anon>
    <anon>プログラミング</anon>
    <anon>配列</anon>
  </categories>
  <description>ネットを見ていると、SafeArrayGetDim のVBA での宣言は、以下のように書かれているのを見かける。 Private Declare PtrSafe Function SafeArrayGetDim Lib &quot;oleaut32&quot; (ByRef psa() As Any) As Long しかし、MSのサイトの C++ 表記では、以下のようになっている。 UINT SafeArrayGetDim( [in] SAFEARRAY *psa ); 引数は、SAFEARRAY を指すポインタであるので、今回の処理では、以下のようにして使っている。 （最初に書いた宣言で、配列を渡すと、意図し…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fz1000s.hatenablog.com%2Fentry%2F2022%2F09%2F28%2F221730&quot; title=&quot;【VBA】SafeArrayGetDim を使って、配列の次元数を求める - 空腹おやじのログと備忘録&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>https://cdn-ak.f.st-hatena.com/images/fotolife/Z/Z1000S/20220928/20220928220649.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-09-28 22:17:30</published>
  <title>【VBA】SafeArrayGetDim を使って、配列の次元数を求める</title>
  <type>rich</type>
  <url>https://z1000s.hatenablog.com/entry/2022/09/28/221730</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
