{"id":191,"date":"2013-10-22T05:51:53","date_gmt":"2013-10-22T05:51:53","guid":{"rendered":"http:\/\/mio-web.net\/pcsupport\/?p=191"},"modified":"2015-01-08T06:41:55","modified_gmt":"2015-01-08T06:41:55","slug":"access%e3%80%8032%e3%83%93%e3%83%83%e3%83%88%e3%80%8064%e3%83%93%e3%83%83%e3%83%88%e5%95%8f%e9%a1%8c","status":"publish","type":"post","link":"https:\/\/mio-web.net\/pcsupport\/archives\/191\/","title":{"rendered":"ACCESS\u300032\u30d3\u30c3\u30c8\u300064\u30d3\u30c3\u30c8\u554f\u984c"},"content":{"rendered":"<p>\u4ee5\u4e0b\u5f15\u7528********************************<\/p>\n<p>Declare\u2192Declare PtrSafe\u3000\u306b\u7f6e\u63db\u3059\u308b\u3000\u66f4\u65b0\u30b7\u30b9\u30c6\u30e0\u306746\u7b87\u6240\u30a8\u30e9\u30fc\u51fa\u308b<\/p>\n<p>Declare \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3067 PtrSafe \u3092\u6307\u5b9a\u3057\u306a\u3044\u3068\u3001<br \/>\n64 \u30d3\u30c3\u30c8 \u30d0\u30fc\u30b8\u30e7\u30f3\u306e Office 2010 \u3068\u4e92\u63db\u6027\u304c\u306a\u3044\u3082\u306e\u3068\u898b\u306a\u3055\u308c\u307e\u3059\u3002<br \/>\nMicrosoft Office 2010 \u306e 32 \u30d3\u30c3\u30c8 \u30d0\u30fc\u30b8\u30e7\u30f3\u3068 64 \u30d3\u30c3\u30c8 \u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3064\u3044\u3066Microsoft Office 2010 \u30b7\u30b9\u30c6\u30e0\u306b\u306f 32 \u30d3\u30c3\u30c8 \u30d0\u30fc\u30b8\u30e7\u30f3\u3068 64 \u30d3\u30c3\u30c8 \u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u4e21\u65b9\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n64 \u30d3\u30c3\u30c8 \u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u65b9\u304c\u306f\u308b\u304b\u306b\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u3092\u51e6\u7406\u3067\u304d\u307e\u3059\u3002<br \/>\nMicrosoft Excel 2010 \u3067\u5927\u304d\u306a\u6570\u3092\u51e6\u7406\u3059\u308b\u5834\u5408\u306f\u3001\u7279\u306b\u3053\u306e\u70b9\u304c\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002\u65b0\u3057\u3044 64 \u30d3\u30c3\u30c8 \u30d0\u30fc\u30b8\u30e7\u30f3\u306e Microsoft Office 2010 \u304c\u767b\u5834\u3057\u305f\u3053\u3068\u306b\u4f34\u3063\u3066\u3001\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306e Microsoft Visual Basic for Applications (VBA) \u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306f Microsoft Visual Basic for Applications 7.0 (VBA 7) \u3068\u547c\u3070\u308c\u308b\u3082\u306e\u3067\u300132 \u30d3\u30c3\u30c8\u306864 \u30d3\u30c3\u30c8\u306e\u4e21\u65b9\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u52d5\u4f5c\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u8aac\u660e\u3057\u3066\u3044\u308b\u5909\u66f4\u70b9\u306f\u300164 \u30d3\u30c3\u30c8 \u30d0\u30fc\u30b8\u30e7\u30f3\u306eMicrosoft Office 2010 \u306b\u306e\u307f\u9069\u7528\u3055\u308c\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u300232 \u30d3\u30c3\u30c8 \u30d0\u30fc\u30b8\u30e7\u30f3\u306e Office 2010 \u3092\u4f7f\u7528\u3059\u308c\u3070\u3001\u4ee5\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e Microsoft Office \u3067\u4f5c\u6210\u3057\u305f\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u305d\u306e\u307e\u307e\u4fee\u6b63\u305b\u305a\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u3001LongPtr \u3068\u3044\u3046\u771f\u306e &#8220;\u30dd\u30a4\u30f3\u30bf\u30fc&#8221; \u30c7\u30fc\u30bf\u578b\u304c\u65b0\u305f\u306b VBA \u306b\u5c0e\u5165\u3055\u308c\u307e\u3057\u305f\u3002<br \/>\n\u3053\u306e\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u578b\u3092\u4f7f\u7528\u3059\u308c\u3070\u3001\u6b21\u306e\u3088\u3046\u306b\u672c\u6765\u306e Declare \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u6b63\u3057\u304f\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\nVBA<\/p>\n<p>Declare PtrSafe Function RegOpenKeyA Lib \u201cadvapire32.dll\u201d (ByVal hKey as LongPtr, ByVal lpSubKey As String, phkResult As LongPtr) As Long<\/p>\n<p>\u3053\u306e\u30c7\u30fc\u30bf\u578b\u3068\u65b0\u3057\u3044 PtrSafe \u5c5e\u6027\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u3053\u306e Declare \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092 32 \u30d3\u30c3\u30c8 \u30b7\u30b9\u30c6\u30e0\u3067\u3082<br \/>\n64 \u30d3\u30c3\u30c8 \u30b7\u30b9\u30c6\u30e0\u3067\u3082\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002PtrSafe \u5c5e\u6027\u306f\u3001Declare \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306e\u5bfe\u8c61\u3092 64 \u30d3\u30c3\u30c8 \u30d0\u30fc\u30b8\u30e7\u30f3\u306e<br \/>\nOffice 2010 \u3068\u3059\u308b\u3053\u3068\u3092 VBA \u30b3\u30f3\u30d1\u30a4\u30e9\u306b\u6307\u793a\u3059\u308b\u3082\u306e\u3067\u3059\u3002\u3053\u306e\u5c5e\u6027\u3092\u6307\u5b9a\u305b\u305a\u306b Declare \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092<br \/>\n64 \u30d3\u30c3\u30c8 \u30b7\u30b9\u30c6\u30e0\u3067\u4f7f\u7528\u3059\u308b\u3068\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002<br \/>\n\u305f\u3060\u3057\u3001PtrSafe \u5c5e\u6027\u306f\u300132 \u30d3\u30c3\u30c8 \u30d0\u30fc\u30b8\u30e7\u30f3\u306e Office 2010 \u3067\u306f\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\u3002<br \/>\n\u3053\u308c\u306b\u3088\u308a\u3001\u65e2\u5b58\u306e Declare \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306f\u5f93\u6765\u3069\u304a\u308a\u306b\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u4e0b\u5f15\u7528******************************** Declare\u2192Declare PtrSafe\u3000\u306b\u7f6e\u63db\u3059\u308b\u3000\u66f4\u65b0\u30b7\u30b9\u30c6\u30e0\u306746\u7b87\u6240\u30a8\u30e9\u30fc\u51fa\u308b Declare \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3067 PtrSafe \u3092 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"vkexunit_cta_each_option":"","footnotes":""},"categories":[24],"tags":[],"class_list":["post-191","post","type-post","status-publish","format-standard","hentry","category-access"],"_links":{"self":[{"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/posts\/191","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/comments?post=191"}],"version-history":[{"count":2,"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/posts\/191\/revisions"}],"predecessor-version":[{"id":209,"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/posts\/191\/revisions\/209"}],"wp:attachment":[{"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/media?parent=191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/categories?post=191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/tags?post=191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}