{"id":7329,"date":"2015-09-03T01:37:20","date_gmt":"2015-09-02T16:37:20","guid":{"rendered":"http:\/\/www.moonmile.net\/blog\/?p=7329"},"modified":"2015-09-03T01:37:20","modified_gmt":"2015-09-02T16:37:20","slug":"ccli-%e3%81%a8-c-%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa%e3%82%92%e6%b7%b7%e5%9c%a8%e3%81%95%e3%81%9b%e3%82%8b%e3%81%a8%e3%81%8d%e3%81%ae%e6%a7%8b%e6%88%90%e3%83%9e%e3%83%8d%e3%83%bc","status":"publish","type":"post","link":"https:\/\/www.moonmile.net\/blog\/archives\/7329","title":{"rendered":"C++\/CLI \u3068 C# \u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u6df7\u5728\u3055\u305b\u308b\u3068\u304d\u306e\u69cb\u6210\u30de\u30cd\u30fc\u30b8\u30e3"},"content":{"rendered":"<p>\u3068\u3042\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067 C++\/CLI \u3068 C# \u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u6df7\u5728\u3055\u305b\u305f\u3068\u304d\u306e\u69cb\u6210\u30de\u30cd\u30fc\u30b8\u30e3\u306e\u8a18\u9332\u3092\u6b8b\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u307b\u3046\u306f\u3001\u65e2\u5b58\u306eC\/C++\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u60f3\u5b9a\u3057\u3066\u3001\u305d\u308c\u3092C#\u304b\u3089\u4f7f\u3044\u3084\u3059\u3044\u3088\u3046\u306b\u30e9\u30c3\u30d7\u3057\u307e\u3059\u3002\u307e\u3042\u3001C#\u304b\u3089\u76f4\u63a5C\u8a00\u8a9e\u306eDLL\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u306f\u53ef\u80fd\u306a\u306e\u3067\u3059\u304c\u3001\u5f8c\u3005\u306e\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3092\u8003\u3048\u308b\u3068\u3001\u30a4\u30f3\u30dd\u30fc\u30c8\u6587\u306e\u7f85\u5217\u306f\u3061\u3087\u3063\u3068\u907f\u3051\u3066\u304a\u304d\u305f\u3044\u3002C++\/CLI \u3092\u8a18\u8ff0\u3059\u308b\u306b\u3057\u3066\u3082\u3001\u3053\u308c\u3082\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u304c\u5927\u5909\uff08C++\/CLI\u3092\u77e5\u3063\u3066\u3044\u308b\u4eba\u304c\u5c11\u306a\u3044\uff09\u306a\u3053\u3068\u3092\u8003\u3048\u308c\u3070\u3001\u3042\u308b\u7a0b\u5ea6C#\u3067\u66f8\u3051\u308b\u90e8\u5206\u3092\u591a\u304f\u3057\u3066\u304a\u304f\u307b\u3046\u304c\u3088\u3044\u3067\u3057\u3087\u3046\u3001\u3068\u3044\u3046\u767a\u60f3\u3067\u69cb\u6210\u3092\u4f5c\u3063\u3066\u3042\u308a\u307e\u3059\u3002 <\/p>\n<p><a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2015\/09\/clip_image010.png\"><img loading=\"lazy\" decoding=\"async\" title=\"clip_image010\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"clip_image010\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2015\/09\/clip_image010_thumb.png\" width=\"641\" height=\"405\"><\/a> <\/p>\n<p>\u3053\u306e\u69cb\u6210\u304c\u5999\u306b\u8907\u96d1\u306a\u306e\u306f\u3001\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u30a2\u30d7\u30ea\u5074\u306b\u30b5\u30fc\u30d3\u30b9\u3068\u3057\u3066C\/C++\u306eDLL\u3092\u5229\u7528\u3059\u308b\u90e8\u5206\u304c\u5b58\u5728\u3057\u3001\u3053\u308c\u3092\u30b9\u30c8\u30a2\u30a2\u30d7\u30ea\u304b\u3089\u30ed\u30fc\u30ab\u30ebHTTP\u3067\u5229\u7528\u3057\u3088\u3046\u3068\u3059\u308b\u30b9\u30bf\u30a4\u30eb\u306e\u305f\u3081\u3067\u3059\u3002\u30b9\u30c8\u30a2\u30a2\u30d7\u30ea\u3067\u306fWin2D\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u308c\u304cDirectX\u306b\u306a\u308b\u3068\u3001C++\/CX\u307e\u3067\u53c2\u6226\u3059\u308b\u3068\u3044\u3046\u5927\u6df7\u4e71\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u306d\u2026\u306a\u611f\u3058\u3067\u3059\u3002 <\/p>\n<p>\u4e0a\u8a18\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3092\u898b\u308b\u3068\u3001x86, Win32, Any CPU\u304c\u6df7\u5728\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u308c\u3067ok\u3067\u3059\u3002\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u540d\u3092\u300cx86\u300d\u306a\u3069\u306b\u63c3\u3048\u3088\u3046\u3068\u3057\u305f\u306e\u3067\u3059\u304c\u7121\u7406\u3067\u3057\u305f\u3002\u30d3\u30eb\u30c9\u3059\u308b\u305f\u3073\u306b\u300c\u69cb\u7bc9\u3055\u308c\u3066\u3044\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30d7\u30ed\u30bb\u30c3\u30b5 \u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3 &#8220;MSIL&#8221; \u3068\uff5e\u300d\u3068\u3044\u3046\u8b66\u544a\u304c\u3067\u307e\u3059\u304c\u7121\u8996\u3057\u3066\u5927\u4e08\u592b\u3067\u3059\u3002 <\/p>\n<p>\u5d4c\u308a\u3069\u3053\u308d\u3068\u3057\u3066\u306f\u3001C++\/CLI\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u8ffd\u52a0\u3057\u305f\u308a\u3001\u30b9\u30c8\u30a2\u30a2\u30d7\u30ea\u306eC#\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u65b0\u898f\u306b\u8ffd\u52a0\u3057\u305f\u3068\u304d\u306b\u306f\u3001\u300c\u30d3\u30eb\u30c9\u300d\u306e\u30c1\u30a7\u30c3\u30af\u304c\u5916\u308c\u3066\u3044\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u53c2\u7167\u8a2d\u5b9a\u306a\u3069\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u53c2\u7167\u3092\u3057\u3066\u308c\u3070\u81ea\u52d5\u7684\u306b\u30d3\u30eb\u30c9\u306e\u9806\u5e8f\u306f\u8a2d\u5b9a\u3055\u308c\u308b\u306e\u3067\u3059\u304c\u3001\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u304c\u7570\u306a\u308b\u305b\u3044\u304b\u3001\u3053\u306e\u30d3\u30eb\u30c9\u306e\u30c1\u30a7\u30c3\u30af\u304c\u5916\u308c\u305f\u307e\u307e\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002C++\/CLI \u3068 C# \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u30a2\u30d7\u30ea\u3001C#\u30b9\u30c8\u30a2\u30a2\u30d7\u30ea\u3092\u6df7\u5728\u3055\u305b\u308b\u3068\u304d\u306f\u3001\u3053\u3053\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3092\u9078\u629e\u3057\u305f\u5f8c\u3067\u30d3\u30eb\u30c9\u306b\u30c1\u30a7\u30c3\u30af\u3092\u3044\u308c\u3066\u304a\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u3063\u3066\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u304b\u3089\u30ea\u30d3\u30eb\u30c9\u3057\u305f\u3068\u304d\u306b\u3001\u666e\u901a\u306e C# \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u3088\u3046\u306b\u4f9d\u5b58\u95a2\u4fc2\u3092\u898b\u3066\u3059\u3079\u3066\u30ea\u30d3\u30eb\u30c9\u3055\u308c\u307e\u3059\u3002\u305d\u3046\u3057\u306a\u3044\u3068\u3001\u30d3\u30eb\u30c9\u3055\u308c\u306a\u3044\u307e\u307e\u6b8b\u3063\u305f DLL \u304c\u3042\u3063\u305f\u308a\u3057\u3066\u3001\u6b63\u3057\u304f\u30d3\u30eb\u30c9\u304c\u3067\u304d\u307e\u305b\u3093\u3002 <\/p>\n<p><a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2015\/09\/image.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2015\/09\/image_thumb.png\" width=\"648\" height=\"371\"><\/a> <\/p>\n<p>\u53c2\u7167\u8a2d\u5b9a\u3068\u3057\u3066\u3084\u3084\u3053\u3057\u304b\u3063\u305f\u306e\u306f\u3001\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3068\u30b9\u30c8\u30a2\u30a2\u30d7\u30ea\u9593\u306e\u30c7\u30fc\u30bf\u3092\u5171\u6709\u3059\u308b\u305f\u3081\u306b\u3001C#\u3067\u4f5c\u6210\u3057\u305fPCL\u3092\u5229\u7528\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u3053\u306ePCL\u3092\u30b7\u30ea\u30a2\u30e9\u30a4\u30ba\/\u30c7\u30b7\u30ea\u30a2\u30e9\u30a4\u30ba\u3059\u308b\u3053\u3068\u3067\u3001\u30c7\u30fc\u30bf\u901a\u4fe1\u3092\u697d\u306b\u3057\u3066\u3044\u307e\u3059\u3002.NET\u30ea\u30e2\u30fc\u30c8\u306f\u30b9\u30c8\u30a2\u30a2\u30d7\u30ea\u3067\u306f\u4f7f\u3048\u306a\u3044\uff08\u30de\u30fc\u30b7\u30e3\u30ea\u30f3\u30b0\u304c\u4f7f\u3048\u306a\u3044\uff1f\uff09\u306e\u3067\u3001\u81ea\u524d\u3067\u30b7\u30ea\u30a2\u30e9\u30a4\u30ba\u3059\u308b\u8a33\u3067\u3059\u306d\u3002\u30b7\u30ea\u30a2\u30e9\u30a4\u30ba\u81ea\u4f53\u306f\u3001DataContractSerializer\u3092\u4f7f\u3063\u3066\u3044\u308b\u3060\u3051\u306a\u306e\u3067\u96e3\u3057\u304f\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u305d\u306e\u5206\u30c7\u30fc\u30bf\u91cf\u304c\u591a\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3059\u304c\u3001\u307e\u3042\u3001\u30ed\u30fc\u30ab\u30eb\u3067\u901a\u4fe1\u3059\u308b\u5206\u306b\u306f\u554f\u984c\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u3002  <\/p>\n<p>\u3053\u308c\u304c\u3055\u3063\u304f\u308a\u3068\u5b9f\u6a5f\u3067\u52d5\u304f\u304b\u3068\u3044\u3046\u3068\u3001\u305d\u3046\u3067\u3082\u306a\u304f\u3066\u3001<\/p>\n<ul>\n<li>VC++ 2013 \u7528\u306e\u518d\u914d\u5e03\u53ef\u80fd\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff08msvcp120.dll\u3001msvcr120.dll\uff09<\/li>\n<li>netsh \u3067\u306e\u30dd\u30fc\u30c8\u8a2d\u5b9a<\/li>\n<li>\u4f9d\u5b58\u3059\u308bDLL\u306e\u914d\u7f6e<\/li>\n<\/ul>\n<p>\u3092\u9069\u5207\u306b\u3084\u3089\u306a\u3044\u3068\u3046\u307e\u304f\u901a\u308a\u307e\u305b\u3093\u3002\u305d\u3046\u3044\u3046\u610f\u5473\u3067\u306f\u30aa\u30fc\u30ebC#\u3067\u66f8\u3044\u3066\u304a\u304f\u3068\u3001\u305d\u306e\u3042\u305f\u308a\u306e\u61f8\u5ff5\u70b9\u306f\u6e1b\u308b\u306e\u3067\u3059\u304c\u2026\u3001\u307e\u3042\u65e2\u5b58\u306eC\/C++\u306eDLL\u547c\u3073\u51fa\u3057\u306e\u3068\u304d\u306f\u3001C++\/CLI\u3092\u4f7f\u3044\u305f\u3044\u3068\u3053\u308d\u3067\u3059\u3088\u306d\u3001\u3063\u3066\u3053\u3068\u3067\u3001\u30e1\u30e2\u66f8\u304d\u7684\u306b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3068\u3042\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067 C++\/CLI \u3068 C# \u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u6df7\u5728\u3055\u305b\u305f\u3068\u304d\u306e\u69cb\u6210\u30de\u30cd\u30fc\u30b8\u30e3\u306e\u8a18\u9332\u3092\u6b8b\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u307b\u3046\u306f\u3001\u65e2\u5b58\u306eC\/C++\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u60f3\u5b9a\u3057\u3066\u3001\u305d\u308c\u3092C#\u304b\u3089\u4f7f\u3044\u3084\u3059\u3044\u3088\u3046\u306b\u30e9\u30c3\u30d7\u3057\u307e\u3059\u3002\u307e\u3042 &hellip; <a href=\"https:\/\/www.moonmile.net\/blog\/archives\/7329\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[23],"tags":[],"class_list":["post-7329","post","type-post","status-publish","format-standard","hentry","category-csharp"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/7329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/comments?post=7329"}],"version-history":[{"count":1,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/7329\/revisions"}],"predecessor-version":[{"id":7330,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/7329\/revisions\/7330"}],"wp:attachment":[{"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/media?parent=7329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/categories?post=7329"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/tags?post=7329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}