{"title":"C#\u304b\u3089\u30a2\u30f3\u30de\u30cd\u30fc\u30b8\u30c9DLL\u95a2\u6570\u306e\u547c\u3073\u51fa\u3057\u3068\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u6e21\u3057","url":"https://shive.hateblo.jp/entry/20090115/1232037710","version":"1.0","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","type":"rich","author_url":"https://blog.hatena.ne.jp/shive/","blog_title":"\u30b2\u30fc\u30e0\u30a8\u30f3\u30b8\u30cb\u30a2\u306a\u65e5\u3005","published":"2009-01-15 01:41:50","blog_url":"https://shive.hateblo.jp/","author_name":"shive","description":"\u307e\u305aC++\u3067\u3053\u3093\u306a.dll\u3092\u4f5c\u308b\u3002\u4eee\u306bgreeting.dll\u3068\u3059\u308b\u3002 #include <stdio.h> extern \"C\" { typedef const char* (*WhatDoYouSay)(); __declspec(dllexport) void Greeting(WhatDoYouSay callback) { printf(\"Greeting: %s\\n\",(*callback)()); } } \u3053\u306e\u5834\u5408C#\u304b\u3089\u306e\u547c\u3073\u51fa\u3057\u306f using System; using System.Runtime.Interopservices; class Program { deleg\u2026","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshive.hateblo.jp%2Fentry%2F20090115%2F1232037710\" title=\"C#\u304b\u3089\u30a2\u30f3\u30de\u30cd\u30fc\u30b8\u30c9DLL\u95a2\u6570\u306e\u547c\u3073\u51fa\u3057\u3068\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u6e21\u3057 - \u30b2\u30fc\u30e0\u30a8\u30f3\u30b8\u30cb\u30a2\u306a\u65e5\u3005\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","width":"100%","categories":[".NET","C#"]}