{"height":"190","blog_title":"\u5099\u5fd8\u9332","categories":["C#"],"author_name":"kagasu","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","version":"1.0","type":"rich","title":"C#\u3067Win32API\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5\uff08CsWin32\u5229\u7528\uff09","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkagasu.hatenablog.com%2Fentry%2F2021%2F02%2F09%2F000511\" title=\"C#\u3067Win32API\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5\uff08CsWin32\u5229\u7528\uff09 - \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>","url":"https://kagasu.hatenablog.com/entry/2021/02/09/000511","description":"\u2160. \u306f\u3058\u3081\u306b \u30bf\u30a4\u30c8\u30eb\u306e\u901a\u308a\u300cC#\u3067Win32API\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5\u300d\u3067\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306fMicrosoft\u304c\u4f5c\u6210\u3057\u3066\u3044\u308bCsWin32\u3092\u5229\u7528\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u2161. \u5fc5\u9808\u74b0\u5883 .NET 5 \u4ee5\u4e0a C# 9 \u4ee5\u4e0a Visual Studio 16.8 \u4ee5\u4e0a \u2162. \u3084\u308a\u65b9 1. \u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b dotnet add package Microsoft.Windows.CsWin32 --version 0.2.188-beta 2. NativeMethods.txt \u3092\u65b0\u898f\u4f5c\u6210\u3059\u308b NativeMethods.txt MessageBox 3. \u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304f \u2026","blog_url":"https://kagasu.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/kagasu/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/k/kagasu/20210209/20210209000207.png","published":"2021-02-09 00:05:11","width":"100%"}