{"id":11668,"date":"2022-09-27T18:19:16","date_gmt":"2022-09-27T09:19:16","guid":{"rendered":"https:\/\/prodskill.com\/?p=11668"},"modified":"2022-10-04T23:19:20","modified_gmt":"2022-10-04T14:19:20","slug":"excel-vba-coding-pattern-windows-api-ptrsafe","status":"publish","type":"post","link":"https:\/\/prodskill.com\/de\/excel-vba-coding-pattern-windows-api-ptrsafe\/","title":{"rendered":"Geben Sie PtrSafe an, um beim Importieren der Windows-API sowohl 32-Bit- als auch 64-Bit-Excel zu verwenden"},"content":{"rendered":"<p>Erfahren Sie mehr \u00fcber die PtrSafe-Deklaration der Windows-API. Beim Codieren mit Excel VBA k\u00f6nnen Sie die Ursachen und L\u00f6sungen von PtrSafe-bezogenen Fehlern \u00fcberpr\u00fcfen, die gelegentlich beim Importieren und Verwenden von Windows-APIs auftreten.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">&lt;&lt;Inhaltsverzeichnis&gt;&gt;<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Inhaltsverzeichnis umschalten\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Umschalten<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/prodskill.com\/de\/excel-vba-coding-pattern-windows-api-ptrsafe\/#1_Windows_API_PtrSafe_%EC%98%A4%EB%A5%98_%EB%B0%9C%EC%83%9D_%EC%98%88%EC%8B%9C_%EC%BD%94%EB%93%9C\" >1. Beispielcode f\u00fcr das Auftreten von PtrSafe-Fehlern in der Windows-API<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/prodskill.com\/de\/excel-vba-coding-pattern-windows-api-ptrsafe\/#2_Windows_API_PtrSafe_%EC%98%A4%EB%A5%98_%EB%A9%94%EC%8B%9C%EC%A7%80\" >2. PtrSafe-Fehlermeldung der Windows-API<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/prodskill.com\/de\/excel-vba-coding-pattern-windows-api-ptrsafe\/#3_Windows_API_PtrSafe_%EC%98%A4%EB%A5%98_%EB%B0%9C%EC%83%9D_%EC%9B%90%EC%9D%B8\" >3. Was verursacht PtrSafe-Fehler in der Windows-API<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/prodskill.com\/de\/excel-vba-coding-pattern-windows-api-ptrsafe\/#4_Windows_API_PtrSafe_%EC%98%A4%EB%A5%98_%ED%95%B4%EA%B2%B0_%EB%B0%A9%EB%B2%95\" >4. So beheben Sie den Windows-API-PtrSafe-Fehler<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/prodskill.com\/de\/excel-vba-coding-pattern-windows-api-ptrsafe\/#5_Windows_API_PtrSafe_%EC%98%A4%EB%A5%98_%ED%95%B4%EA%B2%B0_%EC%98%88%EC%8B%9C_%EC%BD%94%EB%93%9C\" >5. Beispielcode zum Beheben des Windows-API-PtrSafe-Fehlers<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/prodskill.com\/de\/excel-vba-coding-pattern-windows-api-ptrsafe\/#51_32bit_64bit_%EC%97%91%EC%85%80%EC%97%90%EC%84%9C_%ED%98%BC%EC%9A%A9%ED%95%98%EC%97%AC_%EC%82%AC%EC%9A%A9%EB%90%98%EB%8A%94_%EA%B2%BD%EC%9A%B0\" >5.1. Falls es gemischt und in 32-Bit- und 64-Bit-Excel verwendet wird<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/prodskill.com\/de\/excel-vba-coding-pattern-windows-api-ptrsafe\/#52_64bit_%EC%97%91%EC%85%80%EC%97%90%EC%84%9C%EB%A7%8C_%EC%82%AC%EC%9A%A9%EB%90%98%EB%8A%94_%EA%B2%BD%EC%9A%B0\" >5.2. Wenn es nur in 64-Bit-Excel verwendet wird<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"1._\uc624\ub958_\ubc1c\uc0dd_\uc608\uc2dc_\ucf54\ub4dc\"><span class=\"ez-toc-section\" id=\"1_Windows_API_PtrSafe_%EC%98%A4%EB%A5%98_%EB%B0%9C%EC%83%9D_%EC%98%88%EC%8B%9C_%EC%BD%94%EB%93%9C\"><\/span>1. Beispielcode f\u00fcr das Auftreten von PtrSafe-Fehlern in der Windows-API<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Dieser Code importiert und deklariert Windows API Sleep, OutputDebugString.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"visualbasic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-auto-translation=\"\">Public Declare Sub Sleep Lib \"kernel32\" (ByVal dwMilliseconds As Long)\nPrivate Declare Sub OutputDebugString Lib \"kernel32\" Alias \"OutputDebugStringA\" (ByVal lpOutputString As String)<\/pre>\n\n\n\n<p>(Hinweis: Der obige Code ist <a href=\"https:\/\/prodskill.com\/de\/excel-vba-coding-pattern-logging-outputdebugstring-debugview\/\">Protokollierungsmuster: Verwendung von OutputDebugString und DebugView \u2013 Produktivit\u00e4ts-Skill (prodskill.com)<\/a> Dies ist der Code, der in eingef\u00fchrt wurde.)<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"2._\uc624\ub958_\uba54\uc2dc\uc9c0\"><span class=\"ez-toc-section\" id=\"2_Windows_API_PtrSafe_%EC%98%A4%EB%A5%98_%EB%A9%94%EC%8B%9C%EC%A7%80\"><\/span>2. PtrSafe-Fehlermeldung der Windows-API<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Beim Bearbeiten oder Kompilieren von VBA-Code tritt der folgende Fehler auf.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-204.png\"><img loading=\"lazy\" decoding=\"async\" width=\"410\" height=\"185\" src=\"https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-204.png\" alt=\"VBA \ucef4\ud30c\uc77c \uc624\ub958: Declare \ubb38 PtrSafe \ud2b9\uc131 \ud45c\uc2dc \ud544\uc694\" class=\"wp-image-11669\" srcset=\"https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-204.png 410w, https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-204-300x135.png 300w, https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-204-18x8.png 18w, https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-204-24x11.png 24w, https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-204-36x16.png 36w, https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-204-48x22.png 48w\" sizes=\"auto, (max-width: 410px) 100vw, 410px\" \/><\/a><figcaption>VBA-Kompilierungsfehler: Declare-Anweisung PtrSafe-Attribut muss markiert werden<\/figcaption><\/figure>\n<\/div>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014-<br>Microsoft Visual Basic f\u00fcr Applikationen<br>\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014-<\/p><p>Dies ist ein Kompilierungsfehler:<\/p><p>Sie m\u00fcssen den Code in diesem Projekt aktualisieren, um ihn auf 64-Bit-Systemen verwenden zu k\u00f6nnen. \u00dcberpr\u00fcfen und aktualisieren Sie die Declare-Anweisung und markieren Sie sie mit dem PtrSafe-Attribut.<\/p><\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"3._\uc624\ub958_\ubc1c\uc0dd_\uc6d0\uc778\"><span class=\"ez-toc-section\" id=\"3_Windows_API_PtrSafe_%EC%98%A4%EB%A5%98_%EB%B0%9C%EC%83%9D_%EC%9B%90%EC%9D%B8\"><\/span>3. Was verursacht PtrSafe-Fehler in der Windows-API<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>64-Bit wird seit MS-Office 2010 unterst\u00fctzt, und dies tritt auf, weil das PtrSafe-Schl\u00fcsselwort angegeben werden muss, wenn danach die Windows-API in 64-Bit-Excel importiert wird.<\/p>\n\n\n\n<p>Bezug:&nbsp;<a href=\"https:\/\/docs.microsoft.com\/en-us\/previous-versions\/office\/troubleshoot\/office-developer\/compile-error-editing-vba-macro\" target=\"_blank\" rel=\"noreferrer noopener\">Der Code in diesem Projekt muss f\u00fcr die Verwendung auf 64-Bit-Systemen aktualisiert werden \u2013 Office | Microsoft-Docs<\/a><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-205.png\"><img loading=\"lazy\" decoding=\"async\" width=\"720\" height=\"731\" src=\"https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-205.png\" alt=\"Compile error when you edit a VBA macro in the 64-bit version of an Office 2010 program\" class=\"wp-image-11670\" srcset=\"https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-205.png 720w, https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-205-295x300.png 295w, https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-205-12x12.png 12w, https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-205-80x80.png 80w, https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-205-24x24.png 24w, https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-205-36x36.png 36w, https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-205-48x48.png 48w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><figcaption>Kompilierungsfehler beim Bearbeiten eines VBA-Makros in der 64-Bit-Version eines Office 2010-Programms<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Einige Ausz\u00fcge aus der obigen URL sind unten eingef\u00fcgt.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p class=\"has-large-font-size\"><strong>Symptome<\/strong><\/p>\n\n\n\n<p>Betrachten Sie das folgende Szenario:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Sie schreiben einen Makrocode f\u00fcr Microsoft Visual Basic f\u00fcr Applikationen (VBA), der Declare-Anweisungen verwendet.<\/li><li>Ihr VBA-Makrocode verwendet Kompilierungskonstanten. Ihr Makrocode verwendet beispielsweise eine der folgenden Kompilierungskonstanten:<ul><li>#If VBA7<\/li><li>#Wenn Win64<\/li><\/ul><\/li><li>Einen #Else-Baustein verwenden Sie in einem Bedingungsbaustein. Im #Else-Block verwenden Sie Syntax f\u00fcr eine Declare-Anweisung, die f\u00fcr die Ausf\u00fchrung in Microsoft Visual Basic f\u00fcr Applikationen 6.0 entwickelt wurde.<\/li><li>Sie bearbeiten den Code in einer 64-Bit-Version eines Microsoft Office 2010-Programms.<\/li><li>Sie versuchen, die Declare-Anweisung im #Else-Block zu \u00e4ndern.<\/li><\/ul>\n\n\n\n<p>In diesem Szenario wird die folgende Fehlermeldung angezeigt:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-auto-translation=\"\">Microsoft Visual Basic for Applications\n\nCompile error:\n\nThe code in this project must be updated for use on 64-bit\nsystems. Please review and update Declare statements and then\nmark them with the PtrSafe attribute.<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"4._\uc624\ub958_\ud574\uacb0_\ubc29\ubc95\"><span class=\"ez-toc-section\" id=\"4_Windows_API_PtrSafe_%EC%98%A4%EB%A5%98_%ED%95%B4%EA%B2%B0_%EB%B0%A9%EB%B2%95\"><\/span>4. So beheben Sie den Windows-API-PtrSafe-Fehler<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Die VBA-Version von MS-Office 2010 ist 7.0 und die vorherige ist 6.x. Da das PtrSafe-Schl\u00fcsselwort ab VBA 7.0 erforderlich ist, kann der Windows-API-Importcode unterteilt und deklariert werden, je nachdem, ob die VBA-Version h\u00f6her als 7.0 ist oder nicht.<\/p>\n\n\n\n<p>Bezug:&nbsp;<a href=\"https:\/\/docs.microsoft.com\/en-us\/office\/vba\/language\/reference\/user-interface-help\/ptrsafe-keyword\" target=\"_blank\" rel=\"noreferrer noopener\">PtrSafe-Schl\u00fcsselwort (VBA) | Microsoft-Docs<\/a><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-206.png\"><img loading=\"lazy\" decoding=\"async\" width=\"718\" height=\"583\" src=\"https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-206.png\" alt=\"PtrSafe keyword\" class=\"wp-image-11671\" srcset=\"https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-206.png 718w, https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-206-300x244.png 300w, https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-206-15x12.png 15w, https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-206-24x19.png 24w, https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-206-36x29.png 36w, https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-206-48x39.png 48w\" sizes=\"auto, (max-width: 718px) 100vw, 718px\" \/><\/a><figcaption>PtrSafe-Schl\u00fcsselwort<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Einige Ausz\u00fcge aus der obigen URL sind unten eingef\u00fcgt.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p class=\"has-large-font-size\"><strong>PtrSafe-Schl\u00fcsselwort<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Artikel<\/li><li>09\/14\/2021<\/li><li>2 Minuten zu lesen<\/li><li>5 Mitwirkende<\/li><\/ul>\n\n\n\n<p>Die\u00a0<strong>PtrSafe<\/strong>\u00a0Schl\u00fcsselwort wird in diesem Zusammenhang verwendet:\u00a0<a href=\"https:\/\/learn.microsoft.com\/en-us\/office\/vba\/language\/reference\/user-interface-help\/declare-statement\" target=\"_blank\" rel=\"noreferrer noopener\">Aussage erkl\u00e4ren<\/a>.<\/p>\n\n\n\n<p><strong>Erkl\u00e4ren<\/strong>\u00a0Aussagen mit\u00a0<strong>PtrSafe<\/strong>\u00a0Schl\u00fcsselwort ist die empfohlene Syntax. Deklarieren Sie Anweisungen, die enthalten\u00a0<strong>PtrSafe<\/strong>\u00a0funktionieren in der VBA7-Entwicklungsumgebung sowohl auf 32-Bit- als auch auf 64-Bit-Plattformen nur dann korrekt, wenn alle Datentypen in der\u00a0<strong>Erkl\u00e4ren<\/strong>\u00a0-Anweisung (Parameter und R\u00fcckgabewerte), die 64-Bit-Mengen speichern m\u00fcssen, werden f\u00fcr die Verwendung aktualisiert\u00a0<a href=\"https:\/\/learn.microsoft.com\/en-us\/office\/vba\/language\/reference\/user-interface-help\/longlong-data-type\" target=\"_blank\" rel=\"noreferrer noopener\">Lang Lang<\/a>\u00a0f\u00fcr 64-Bit-Integrale bzw\u00a0<a href=\"https:\/\/learn.microsoft.com\/en-us\/office\/vba\/language\/reference\/user-interface-help\/longptr-data-type\" target=\"_blank\" rel=\"noreferrer noopener\">LangPtr<\/a>\u00a0f\u00fcr Zeiger und Griffe.<\/p>\n\n\n\n<p>Um die Abw\u00e4rtskompatibilit\u00e4t mit VBA-Version 6 und fr\u00fcher sicherzustellen, verwenden Sie das folgende Konstrukt:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-auto-translation=\"\">#If VBA7 Then \nDeclare PtrSafe Sub... \n#Else \nDeclare Sub... \n#EndIf\n<\/pre>\n\n\n\n<p>Bei Ausf\u00fchrung in 64-Bit-Versionen von Office&nbsp;<strong>Erkl\u00e4ren<\/strong>&nbsp;Aussagen m\u00fcssen die enthalten&nbsp;<strong>PtrSafe<\/strong>&nbsp;Stichwort. Der&nbsp;<strong>PtrSafe<\/strong>&nbsp;Schl\u00fcsselwort behauptet, dass a&nbsp;<strong>Erkl\u00e4ren<\/strong>&nbsp;-Anweisung kann in 64-Bit-Entwicklungsumgebungen sicher ausgef\u00fchrt werden.<\/p>\n\n\n\n<p>Hinzuf\u00fcgen der\u00a0<strong>PtrSafe<\/strong>\u00a0Schl\u00fcsselwort zu a\u00a0<strong>Erkl\u00e4ren<\/strong>\u00a0Aussage bedeutet nur, dass die\u00a0<strong>Erkl\u00e4ren<\/strong>\u00a0Die Anweisung zielt explizit auf 64-Bit ab. Alle Datentypen innerhalb der Anweisung, die 64-Bit speichern m\u00fcssen (einschlie\u00dflich R\u00fcckgabewerte und Parameter), m\u00fcssen weiterhin so ge\u00e4ndert werden, dass sie 64-Bit-Mengen enthalten, indem sie beide verwenden\u00a0<a href=\"https:\/\/learn.microsoft.com\/en-us\/office\/vba\/language\/reference\/user-interface-help\/longlong-data-type\" target=\"_blank\" rel=\"noreferrer noopener\">Lang Lang<\/a>\u00a0f\u00fcr 64-Bit-Integrale bzw\u00a0<a href=\"https:\/\/learn.microsoft.com\/en-us\/office\/vba\/language\/reference\/user-interface-help\/longptr-data-type\" target=\"_blank\" rel=\"noreferrer noopener\">LangPtr<\/a>\u00a0f\u00fcr Zeiger und Griffe.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p><\/p>\n\n\n\n<p>Sie m\u00fcssen lediglich festlegen, ob eine \u201eVBA7\u201c-Konstante oder eine \u201eWin64\u201c-Konstante definiert ist.Verwenden Sie in diesem Fall die Compiler-Direktive #If-Syntax.<\/p>\n\n\n\n<p>Der Code ist wie folgt aufgebaut:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"visualbasic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-auto-translation=\"\">'\ubc29\ubc951\n#If VBA7 Then\n    '64bit Windows API import\n#Else\n    '32bit Windows API import\n#End If\n\n'\ubc29\ubc952\n#If Win64 Then\n    '64bit Windows API import\n#Else\n    '32bit Windows API import\n#End If\n\n'\ubc29\ubc951, \ubc29\ubc952\ub294 \ub3d9\uc77c\ud55c \ud6a8\uacfc\uac00 \uc788\uc73c\ubbc0\ub85c \ud55c \ubc29\ubc95\uc744 \uc120\ud0dd\ud558\uba74 \ub428<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"5._\uc624\ub958_\ud574\uacb0_\uc608\uc2dc_\ucf54\ub4dc\"><span class=\"ez-toc-section\" id=\"5_Windows_API_PtrSafe_%EC%98%A4%EB%A5%98_%ED%95%B4%EA%B2%B0_%EC%98%88%EC%8B%9C_%EC%BD%94%EB%93%9C\"><\/span>5. Beispielcode zum Beheben des Windows-API-PtrSafe-Fehlers<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"5.1._32bit,_64bit_\uc5d1\uc140\uc5d0\uc11c_\ud63c\uc6a9\ud558\uc5ec_\uc0ac\uc6a9\ub418\ub294_\uacbd\uc6b0\"><span class=\"ez-toc-section\" id=\"51_32bit_64bit_%EC%97%91%EC%85%80%EC%97%90%EC%84%9C_%ED%98%BC%EC%9A%A9%ED%95%98%EC%97%AC_%EC%82%AC%EC%9A%A9%EB%90%98%EB%8A%94_%EA%B2%BD%EC%9A%B0\"><\/span>5.1. Falls es gemischt und in 32-Bit- und 64-Bit-Excel verwendet wird<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"visualbasic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-auto-translation=\"\">#If VBA7 Then 'For 64 Bit Systems\n    Public Declare PtrSafe Sub Sleep Lib \"kernel32\" (ByVal dwMilliseconds As LongPtr)\n    Private Declare PtrSafe Sub OutputDebugString Lib \"kernel32\" Alias \"OutputDebugStringA\" (ByVal lpOutputString As String)\n#Else 'For 32 Bit Systems\n    Public Declare Sub Sleep Lib \"kernel32\" (ByVal dwMilliseconds As Long)\n    Private Declare Sub OutputDebugString Lib \"kernel32\" Alias \"OutputDebugStringA\" (ByVal lpOutputString As String)\n#End If<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"5.2._64bit_\uc5d1\uc140\uc5d0\uc11c\ub9cc_\uc0ac\uc6a9\ub418\ub294_\uacbd\uc6b0\"><span class=\"ez-toc-section\" id=\"52_64bit_%EC%97%91%EC%85%80%EC%97%90%EC%84%9C%EB%A7%8C_%EC%82%AC%EC%9A%A9%EB%90%98%EB%8A%94_%EA%B2%BD%EC%9A%B0\"><\/span>5.2. Wenn es nur in 64-Bit-Excel verwendet wird<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Wenn Sie sicher sind, dass es nur in 64-Bit-Excel verwendet wird, verwenden Sie nur eine Anweisung, die das PtrSafe-Schl\u00fcsselwort angibt.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"visualbasic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\" data-no-auto-translation=\"\">Public Declare PtrSafe Sub Sleep Lib \"kernel32\" (ByVal dwMilliseconds As LongPtr)\nPrivate Declare PtrSafe Sub OutputDebugString Lib \"kernel32\" Alias \"OutputDebugStringA\" (ByVal lpOutputString As String)<\/pre>","protected":false},"excerpt":{"rendered":"<p>Erfahren Sie mehr \u00fcber die PtrSafe-Deklaration der Windows-API. Beim Codieren mit Excel VBA k\u00f6nnen Sie die Ursachen und L\u00f6sungen von PtrSafe-bezogenen Fehlern \u00fcberpr\u00fcfen, die gelegentlich beim Importieren und Verwenden von Windows-APIs auftreten. 1. Beispielcode f\u00fcr den Windows API PtrSafe-Fehler Dies ist der Code, der Windows API Sleep, OutputDebugString, importiert und deklariert. (Referenz:...<\/p>","protected":false},"author":1,"featured_media":11669,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[108,17,74,75,104,105],"class_list":["post-11668","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-excel-vba-coding-pattern","tag-ptrsafe","tag-vba","tag-74","tag-codding-pattern","tag-32bit","tag-64bit"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Windows API Import\uc2dc 32bit, 64bit Excel \ubaa8\ub450 \uc0ac\uc6a9\ud558\ub3c4\ub85d PtrSafe \uc9c0\uc815 - \uc0dd\uc0b0\uc131 Skill<\/title>\n<meta name=\"description\" content=\"Windows API PtrSafe \uc120\uc5b8\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf8\ub2e4. \uc5d1\uc140 VBA\ub85c \ucf54\ub529\ud558\ub2e4 \ubcf4\uba74 Windows API\ub97c Import\ud558\uc5ec \uc0ac\uc6a9\ud558\ub2e4\uac00 \uac04\ud639 \ub9cc\ub098\ub294 PtrSafe \uad00\ub828 \uc624\ub958\uc758 \uc6d0\uc778\uacfc \ud574\uacb0\ubc29\ubc95\uc744 \ud655\uc778\ud560 \uc218 \uc788\ub2e4.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/prodskill.com\/de\/excel-vba-coding-pattern-windows-api-ptrsafe\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Windows API Import\uc2dc 32bit, 64bit Excel \ubaa8\ub450 \uc0ac\uc6a9\ud558\ub3c4\ub85d PtrSafe \uc9c0\uc815 - \uc0dd\uc0b0\uc131 Skill\" \/>\n<meta property=\"og:description\" content=\"Windows API PtrSafe \uc120\uc5b8\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf8\ub2e4. \uc5d1\uc140 VBA\ub85c \ucf54\ub529\ud558\ub2e4 \ubcf4\uba74 Windows API\ub97c Import\ud558\uc5ec \uc0ac\uc6a9\ud558\ub2e4\uac00 \uac04\ud639 \ub9cc\ub098\ub294 PtrSafe \uad00\ub828 \uc624\ub958\uc758 \uc6d0\uc778\uacfc \ud574\uacb0\ubc29\ubc95\uc744 \ud655\uc778\ud560 \uc218 \uc788\ub2e4.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prodskill.com\/de\/excel-vba-coding-pattern-windows-api-ptrsafe\/\" \/>\n<meta property=\"og:site_name\" content=\"\uc0dd\uc0b0\uc131 Skill\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-27T09:19:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-10-04T14:19:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-204.png\" \/>\n\t<meta property=\"og:image:width\" content=\"410\" \/>\n\t<meta property=\"og:image:height\" content=\"185\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Zerom\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"Zerom\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/prodskill.com\\\/excel-vba-coding-pattern-windows-api-ptrsafe\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/prodskill.com\\\/excel-vba-coding-pattern-windows-api-ptrsafe\\\/\"},\"author\":{\"name\":\"Zerom\",\"@id\":\"https:\\\/\\\/prodskill.com\\\/ko\\\/#\\\/schema\\\/person\\\/bbad0870c78008c82edbe0960fe768bd\"},\"headline\":\"Windows API Import\uc2dc 32bit, 64bit Excel \ubaa8\ub450 \uc0ac\uc6a9\ud558\ub3c4\ub85d PtrSafe \uc9c0\uc815\",\"datePublished\":\"2022-09-27T09:19:16+00:00\",\"dateModified\":\"2022-10-04T14:19:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/prodskill.com\\\/excel-vba-coding-pattern-windows-api-ptrsafe\\\/\"},\"wordCount\":411,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/prodskill.com\\\/ko\\\/#\\\/schema\\\/person\\\/bbad0870c78008c82edbe0960fe768bd\"},\"image\":{\"@id\":\"https:\\\/\\\/prodskill.com\\\/excel-vba-coding-pattern-windows-api-ptrsafe\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/prodskill.com\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/image-204.png\",\"keywords\":[\"PtrSafe\",\"\uc5d1\uc140VBA\",\"\ucf54\ub529\ud328\ud134\",\"Codding Pattern\",\"32bit\",\"64bit\"],\"articleSection\":[\"\uc5d1\uc140 VBA \ucf54\ub529\ud328\ud134\"],\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/prodskill.com\\\/excel-vba-coding-pattern-windows-api-ptrsafe\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/prodskill.com\\\/excel-vba-coding-pattern-windows-api-ptrsafe\\\/\",\"url\":\"https:\\\/\\\/prodskill.com\\\/excel-vba-coding-pattern-windows-api-ptrsafe\\\/\",\"name\":\"Windows API Import\uc2dc 32bit, 64bit Excel \ubaa8\ub450 \uc0ac\uc6a9\ud558\ub3c4\ub85d PtrSafe \uc9c0\uc815 - \uc0dd\uc0b0\uc131 Skill\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/prodskill.com\\\/ko\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/prodskill.com\\\/excel-vba-coding-pattern-windows-api-ptrsafe\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/prodskill.com\\\/excel-vba-coding-pattern-windows-api-ptrsafe\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/prodskill.com\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/image-204.png\",\"datePublished\":\"2022-09-27T09:19:16+00:00\",\"dateModified\":\"2022-10-04T14:19:20+00:00\",\"description\":\"Windows API PtrSafe \uc120\uc5b8\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf8\ub2e4. \uc5d1\uc140 VBA\ub85c \ucf54\ub529\ud558\ub2e4 \ubcf4\uba74 Windows API\ub97c Import\ud558\uc5ec \uc0ac\uc6a9\ud558\ub2e4\uac00 \uac04\ud639 \ub9cc\ub098\ub294 PtrSafe \uad00\ub828 \uc624\ub958\uc758 \uc6d0\uc778\uacfc \ud574\uacb0\ubc29\ubc95\uc744 \ud655\uc778\ud560 \uc218 \uc788\ub2e4.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/prodskill.com\\\/excel-vba-coding-pattern-windows-api-ptrsafe\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/prodskill.com\\\/excel-vba-coding-pattern-windows-api-ptrsafe\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/prodskill.com\\\/excel-vba-coding-pattern-windows-api-ptrsafe\\\/#primaryimage\",\"url\":\"https:\\\/\\\/prodskill.com\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/image-204.png\",\"contentUrl\":\"https:\\\/\\\/prodskill.com\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/image-204.png\",\"width\":410,\"height\":185},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/prodskill.com\\\/excel-vba-coding-pattern-windows-api-ptrsafe\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/prodskill.com\\\/ko\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Windows API Import\uc2dc 32bit, 64bit Excel \ubaa8\ub450 \uc0ac\uc6a9\ud558\ub3c4\ub85d PtrSafe \uc9c0\uc815\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/prodskill.com\\\/ko\\\/#website\",\"url\":\"https:\\\/\\\/prodskill.com\\\/ko\\\/\",\"name\":\"\uc0dd\uc0b0\uc131 Skill\",\"description\":\"Meta Thinking, Meta Working\",\"publisher\":{\"@id\":\"https:\\\/\\\/prodskill.com\\\/ko\\\/#\\\/schema\\\/person\\\/bbad0870c78008c82edbe0960fe768bd\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/prodskill.com\\\/ko\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/prodskill.com\\\/ko\\\/#\\\/schema\\\/person\\\/bbad0870c78008c82edbe0960fe768bd\",\"name\":\"Zerom\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/prodskill.com\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/productivity_clockgear.png\",\"url\":\"https:\\\/\\\/prodskill.com\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/productivity_clockgear.png\",\"contentUrl\":\"https:\\\/\\\/prodskill.com\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/productivity_clockgear.png\",\"width\":512,\"height\":512,\"caption\":\"Zerom\"},\"logo\":{\"@id\":\"https:\\\/\\\/prodskill.com\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/productivity_clockgear.png\"},\"url\":\"https:\\\/\\\/prodskill.com\\\/de\\\/author\\\/proda\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Geben Sie PtrSafe an, um beim Importieren der Windows-API sowohl 32-Bit- als auch 64-Bit-Excel zu verwenden \u2013 Produktivit\u00e4tskompetenz","description":"Erfahren Sie mehr \u00fcber die PtrSafe-Deklaration der Windows-API. Beim Codieren mit Excel VBA k\u00f6nnen Sie die Ursachen und L\u00f6sungen von PtrSafe-bezogenen Fehlern \u00fcberpr\u00fcfen, die gelegentlich beim Importieren und Verwenden von Windows-APIs auftreten.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/prodskill.com\/de\/excel-vba-coding-pattern-windows-api-ptrsafe\/","og_locale":"de_DE","og_type":"article","og_title":"Windows API Import\uc2dc 32bit, 64bit Excel \ubaa8\ub450 \uc0ac\uc6a9\ud558\ub3c4\ub85d PtrSafe \uc9c0\uc815 - \uc0dd\uc0b0\uc131 Skill","og_description":"Windows API PtrSafe \uc120\uc5b8\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf8\ub2e4. \uc5d1\uc140 VBA\ub85c \ucf54\ub529\ud558\ub2e4 \ubcf4\uba74 Windows API\ub97c Import\ud558\uc5ec \uc0ac\uc6a9\ud558\ub2e4\uac00 \uac04\ud639 \ub9cc\ub098\ub294 PtrSafe \uad00\ub828 \uc624\ub958\uc758 \uc6d0\uc778\uacfc \ud574\uacb0\ubc29\ubc95\uc744 \ud655\uc778\ud560 \uc218 \uc788\ub2e4.","og_url":"https:\/\/prodskill.com\/de\/excel-vba-coding-pattern-windows-api-ptrsafe\/","og_site_name":"\uc0dd\uc0b0\uc131 Skill","article_published_time":"2022-09-27T09:19:16+00:00","article_modified_time":"2022-10-04T14:19:20+00:00","og_image":[{"width":410,"height":185,"url":"https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-204.png","type":"image\/png"}],"author":"Zerom","twitter_card":"summary_large_image","twitter_misc":{"Verfasst von":"Zerom","Gesch\u00e4tzte Lesezeit":"5\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/prodskill.com\/excel-vba-coding-pattern-windows-api-ptrsafe\/#article","isPartOf":{"@id":"https:\/\/prodskill.com\/excel-vba-coding-pattern-windows-api-ptrsafe\/"},"author":{"name":"Zerom","@id":"https:\/\/prodskill.com\/ko\/#\/schema\/person\/bbad0870c78008c82edbe0960fe768bd"},"headline":"Windows API Import\uc2dc 32bit, 64bit Excel \ubaa8\ub450 \uc0ac\uc6a9\ud558\ub3c4\ub85d PtrSafe \uc9c0\uc815","datePublished":"2022-09-27T09:19:16+00:00","dateModified":"2022-10-04T14:19:20+00:00","mainEntityOfPage":{"@id":"https:\/\/prodskill.com\/excel-vba-coding-pattern-windows-api-ptrsafe\/"},"wordCount":411,"commentCount":0,"publisher":{"@id":"https:\/\/prodskill.com\/ko\/#\/schema\/person\/bbad0870c78008c82edbe0960fe768bd"},"image":{"@id":"https:\/\/prodskill.com\/excel-vba-coding-pattern-windows-api-ptrsafe\/#primaryimage"},"thumbnailUrl":"https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-204.png","keywords":["PtrSafe","\uc5d1\uc140VBA","\ucf54\ub529\ud328\ud134","Codding Pattern","32bit","64bit"],"articleSection":["\uc5d1\uc140 VBA \ucf54\ub529\ud328\ud134"],"inLanguage":"de","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/prodskill.com\/excel-vba-coding-pattern-windows-api-ptrsafe\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/prodskill.com\/excel-vba-coding-pattern-windows-api-ptrsafe\/","url":"https:\/\/prodskill.com\/excel-vba-coding-pattern-windows-api-ptrsafe\/","name":"Geben Sie PtrSafe an, um beim Importieren der Windows-API sowohl 32-Bit- als auch 64-Bit-Excel zu verwenden \u2013 Produktivit\u00e4tskompetenz","isPartOf":{"@id":"https:\/\/prodskill.com\/ko\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prodskill.com\/excel-vba-coding-pattern-windows-api-ptrsafe\/#primaryimage"},"image":{"@id":"https:\/\/prodskill.com\/excel-vba-coding-pattern-windows-api-ptrsafe\/#primaryimage"},"thumbnailUrl":"https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-204.png","datePublished":"2022-09-27T09:19:16+00:00","dateModified":"2022-10-04T14:19:20+00:00","description":"Erfahren Sie mehr \u00fcber die PtrSafe-Deklaration der Windows-API. Beim Codieren mit Excel VBA k\u00f6nnen Sie die Ursachen und L\u00f6sungen von PtrSafe-bezogenen Fehlern \u00fcberpr\u00fcfen, die gelegentlich beim Importieren und Verwenden von Windows-APIs auftreten.","breadcrumb":{"@id":"https:\/\/prodskill.com\/excel-vba-coding-pattern-windows-api-ptrsafe\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prodskill.com\/excel-vba-coding-pattern-windows-api-ptrsafe\/"]}]},{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/prodskill.com\/excel-vba-coding-pattern-windows-api-ptrsafe\/#primaryimage","url":"https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-204.png","contentUrl":"https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/image-204.png","width":410,"height":185},{"@type":"BreadcrumbList","@id":"https:\/\/prodskill.com\/excel-vba-coding-pattern-windows-api-ptrsafe\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prodskill.com\/ko\/"},{"@type":"ListItem","position":2,"name":"Windows API Import\uc2dc 32bit, 64bit Excel \ubaa8\ub450 \uc0ac\uc6a9\ud558\ub3c4\ub85d PtrSafe \uc9c0\uc815"}]},{"@type":"WebSite","@id":"https:\/\/prodskill.com\/ko\/#website","url":"https:\/\/prodskill.com\/ko\/","name":"Produktivit\u00e4tsf\u00e4higkeiten","description":"Meta-Denken, Meta-Arbeiten","publisher":{"@id":"https:\/\/prodskill.com\/ko\/#\/schema\/person\/bbad0870c78008c82edbe0960fe768bd"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prodskill.com\/ko\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":["Person","Organization"],"@id":"https:\/\/prodskill.com\/ko\/#\/schema\/person\/bbad0870c78008c82edbe0960fe768bd","name":"Nullm","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/productivity_clockgear.png","url":"https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/productivity_clockgear.png","contentUrl":"https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/productivity_clockgear.png","width":512,"height":512,"caption":"Zerom"},"logo":{"@id":"https:\/\/prodskill.com\/wp-content\/uploads\/2022\/09\/productivity_clockgear.png"},"url":"https:\/\/prodskill.com\/de\/author\/proda\/"}]}},"_links":{"self":[{"href":"https:\/\/prodskill.com\/de\/wp-json\/wp\/v2\/posts\/11668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prodskill.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prodskill.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prodskill.com\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prodskill.com\/de\/wp-json\/wp\/v2\/comments?post=11668"}],"version-history":[{"count":0,"href":"https:\/\/prodskill.com\/de\/wp-json\/wp\/v2\/posts\/11668\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prodskill.com\/de\/wp-json\/wp\/v2\/media\/11669"}],"wp:attachment":[{"href":"https:\/\/prodskill.com\/de\/wp-json\/wp\/v2\/media?parent=11668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prodskill.com\/de\/wp-json\/wp\/v2\/categories?post=11668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prodskill.com\/de\/wp-json\/wp\/v2\/tags?post=11668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}