{"published":"2010-06-04 22:07:14","type":"rich","image_url":null,"title":"FFI \u3092\u5b66\u3076(2) : C\u306e\u95a2\u6570\u3068\u30c7\u30fc\u30bf\u3092\u3084\u308a\u3068\u308a\u3057\u3066\u307f\u308b\u3002","height":"190","author_name":"sirocco","version":"1.0","blog_url":"https://sirocco.hatenadiary.org/","width":"100%","provider_name":"Hatena Blog","description":"ffi.c : C\u5074\u306e\u30e1\u30e2\u30ea\u306f Haskell \u3067\u78ba\u4fdd\u3057\u3066\u306e\u3092\u53d7\u3051\u53d6\u3063\u3066\u4f7f\u3046\u304b\u3001malloc \u3067\u78ba\u4fdd\u3057\u3066\u958b\u653e\u3059\u308b\u95a2\u6570\u3092 Haskell \u304b\u3089\u547c\u3079\u3070\u826f\u3044\u3001\u305f\u3076\u3093\u3002 \u52ff\u8ad6\u3001C \u3067\u958b\u653e\u3067\u304d\u308b\u306a\u3089\u305d\u306e\u65b9\u304c\u697d\u3067\u3059\u3002 #include <stdio.h> #include <windows.h> #include <malloc.h> #include <objbase.h> /* CLSID\u69cb\u9020\u4f53\u3078\u306e\u30dd\u30a4\u30f3\u30bf\u3092\u8fd4\u3059 */ CLSID* emptyCLSIDstruct (void) { static CLSID clsid; static CLSID *p; p=&clsid; return p; } \u2026","author_url":"https://blog.hatena.ne.jp/sirocco/","categories":["Haskell","C"],"url":"https://sirocco.hatenadiary.org/entry/20100604/1275656834","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20100604%2F1275656834\" title=\"FFI \u3092\u5b66\u3076(2) : C\u306e\u95a2\u6570\u3068\u30c7\u30fc\u30bf\u3092\u3084\u308a\u3068\u308a\u3057\u3066\u307f\u308b\u3002 - sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}