{"published":"2022-09-28 22:17:30","provider_name":"Hatena Blog","height":"190","blog_url":"https://z1000s.hatenablog.com/","categories":["VBA","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","\u914d\u5217"],"title":"\u3010VBA\u3011SafeArrayGetDim \u3092\u4f7f\u3063\u3066\u3001\u914d\u5217\u306e\u6b21\u5143\u6570\u3092\u6c42\u3081\u308b","width":"100%","author_url":"https://blog.hatena.ne.jp/Z1000S/","url":"https://z1000s.hatenablog.com/entry/2022/09/28/221730","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fz1000s.hatenablog.com%2Fentry%2F2022%2F09%2F28%2F221730\" title=\"\u3010VBA\u3011SafeArrayGetDim \u3092\u4f7f\u3063\u3066\u3001\u914d\u5217\u306e\u6b21\u5143\u6570\u3092\u6c42\u3081\u308b - \u7a7a\u8179\u304a\u3084\u3058\u306e\u30ed\u30b0\u3068\u5099\u5fd8\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u7a7a\u8179\u304a\u3084\u3058\u306e\u30ed\u30b0\u3068\u5099\u5fd8\u9332","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/Z/Z1000S/20220928/20220928220649.png","version":"1.0","type":"rich","description":"\u30cd\u30c3\u30c8\u3092\u898b\u3066\u3044\u308b\u3068\u3001SafeArrayGetDim \u306eVBA \u3067\u306e\u5ba3\u8a00\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304b\u308c\u3066\u3044\u308b\u306e\u3092\u898b\u304b\u3051\u308b\u3002 Private Declare PtrSafe Function SafeArrayGetDim Lib \"oleaut32\" (ByRef psa() As Any) As Long \u3057\u304b\u3057\u3001MS\u306e\u30b5\u30a4\u30c8\u306e C++ \u8868\u8a18\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u3002 UINT SafeArrayGetDim( [in] SAFEARRAY *psa ); \u5f15\u6570\u306f\u3001SAFEARRAY \u3092\u6307\u3059\u30dd\u30a4\u30f3\u30bf\u3067\u3042\u308b\u306e\u3067\u3001\u4eca\u56de\u306e\u51e6\u7406\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u4f7f\u3063\u3066\u3044\u308b\u3002 \uff08\u6700\u521d\u306b\u66f8\u3044\u305f\u5ba3\u8a00\u3067\u3001\u914d\u5217\u3092\u6e21\u3059\u3068\u3001\u610f\u56f3\u3057\u2026","provider_url":"https://hatena.blog","author_name":"Z1000S"}