{"published":"2012-03-29 00:00:00","provider_url":"https://hatena.blog","categories":["VC"],"height":"190","image_url":null,"title":"VC++2010\u3067DLL\u3092\u4f5c\u3063\u3066\u3001\u304b\u3064\u3001\u30c7\u30d0\u30c3\u30b0\u3059\u308b","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.systemjp.net%2Fentry%2F20120329%2Fp2\" title=\"VC++2010\u3067DLL\u3092\u4f5c\u3063\u3066\u3001\u304b\u3064\u3001\u30c7\u30d0\u30c3\u30b0\u3059\u308b - shikaku&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","description":"\u6848\u5916\u60c5\u5831\u304c\u7121\u3044\u3057\u624b\u9593\u53d6\u3063\u305f\u3002 \u65b0\u898f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067MFC DLL\u3092\u4f5c\u6210 \u547c\u3073\u51fa\u3055\u308c\u305f\u3044\u95a2\u6570\u3092cpp\u306b\u4f5c\u6210\u3002 __declspec(dllexport)\u3068__declspec(dllimport) \u304c\u30ad\u30e2 extern \"C\" __declspec(dllexport) long AddLong(long, long); long AddLong(long i, long j){ return i+j; } \u65b0\u898f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067MFC\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u300cTestApp\u300d\u3092\u4f5c\u6210 \u30c0\u30a4\u30a2\u30ed\u30b0\u30d9\u30fc\u30b9\u306b\u3057\u3068\u304f \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u304b\u3089\u5171\u901a\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u300c\u65b0\u3057\u3044\u53c2\u7167\u306e\u8ffd\u52a0\u300d\u3067\u5148\u306b\u4f5c\u3063\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u6307\u5b9a \u30ea\u30bd\u2026","width":"100%","blog_url":"https://blog.systemjp.net/","provider_name":"Hatena Blog","author_name":"shikaku","url":"https://blog.systemjp.net/entry/20120329/p2","author_url":"https://blog.hatena.ne.jp/shikaku/","version":"1.0","blog_title":"shikaku's blog"}