{"id":3723,"date":"2017-07-22T16:54:53","date_gmt":"2017-07-22T07:54:53","guid":{"rendered":"http:\/\/denasu.com\/blog\/?p=3723"},"modified":"2017-07-22T23:44:28","modified_gmt":"2017-07-22T14:44:28","slug":"uwp%e3%81%a7%e3%83%8d%e3%82%a4%e3%83%86%e3%82%a3%e3%83%96c","status":"publish","type":"post","link":"https:\/\/denasu.com\/blog\/2017\/07\/diary3723","title":{"rendered":"UWP\u3067\u30cd\u30a4\u30c6\u30a3\u30d6C++"},"content":{"rendered":"<p>Weather Typing\u306eUWP\u5316\u3067\u30cd\u30c3\u30af\u306b\u306a\u308b\u30cd\u30a4\u30c6\u30a3\u30d6C++\u306e\u90e8\u5206\u3002C#\u306b\u79fb\u690d\u3059\u308b\u306e\u306f\u305d\u3093\u306a\u306b\u5927\u5909\u3067\u306f\u306a\u3044\u306e\u3060\u304c\u3001\u30cd\u30a4\u30c6\u30a3\u30d6\u90e8\u5206\u3092\u4f7f\u3048\u308b\u3068\u3044\u308d\u3044\u308d\u4fbf\u5229\u306a\u306e\u3067\u8abf\u67fb\u3002<\/p>\n<p>\u307e\u305a\u666e\u901a\u306b\u30cd\u30a4\u30c6\u30a3\u30d6DLL\u3092\u4f5c\u3063\u3066UWP\u304b\u3089P\/Invoke\u3057\u3066\u307f\u308b\u304c\u3001\u3042\u3063\u3055\u308a\u6210\u529f\u3002Windows IoT\u3067\u3082\u305d\u306e\u307e\u307e\u52d5\u3044\u305f\u3002\u7981\u6b62\u3055\u308c\u3066\u3044\u308bAPI\u3092\u4f7f\u3063\u3066\u3044\u306a\u3051\u308c\u3070\u305d\u306e\u307e\u307e\u52d5\u304f\u3089\u3057\u3044\u3002<\/p>\n<p>\u3066\u3053\u3068\u3067\u8a66\u3057\u306bWindows\u30b9\u30c8\u30a2\u7528\u306b\u30d3\u30eb\u30c9\u3057\u3066\u3001Windows App Certification Kit\uff08WACK\uff09\u306b\u304b\u3051\u3066\u307f\u308b\u304c\u3001\u300cvccorlib140.dll is not supported for this application type\u300d\u3067Windows Security Features Test\u306b\u5931\u6557\u3059\u308b\u3002\u554f\u984c\u306a\u3055\u305d\u3046\u306amemset\u3068\u304bmemcpy\u3068\u304b\u304c\u5f15\u3063\u304b\u304b\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u3069\u3046\u3082\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u7528\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u898b\u3066\u3044\u308b\u305f\u3081\u3063\u307d\u3044\u3002<\/p>\n<p>\u30cd\u30a4\u30c6\u30a3\u30d6DLL\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u300cConsume Windows Runtime Extension\u300d\u3068\u3044\u3046\u306e\u304c\u3042\u308a\u3001<a href=\"http:\/\/www.wisdomsoft.jp\/364.html\">Using C++\/CX in Desktop apps<\/a>\u3092\u53c2\u8003\u306b\u6709\u52b9\u306b\u3057\u3066\u307f\u308b\u304c\u5909\u308f\u3089\u305a\u3002<\/p>\n<p>\u6700\u7d42\u7684\u306b<a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/mt186162.aspx?f=255&#038;MSPPError=-2147217396\">How to: Use Existing C++ Code in a Universal Windows Platform App<\/a>\u3068\u3044\u3046\u305d\u306e\u307e\u307e\u306e\u30d8\u30eb\u30d7\u304c\u898b\u3064\u304b\u3063\u305f\u306e\u3067\u305d\u308c\u306b\u5f93\u3063\u3066\u3001\u4e0a\u306eC++\/CX\u306b\u52a0\u3048\u3066\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u66f8\u304d\u63db\u3048\u305f\u308a\u30d7\u30ea\u30b3\u30f3\u30d1\u30a4\u30eb\u30d8\u30c3\u30c0\u306e\u540d\u524d\u3092\u5909\u3048\u305f\u308a\u3057\u3066WACK\u306b\u901a\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002<\/p>\n<p>\u3067\u304d\u3042\u304c\u3063\u305fDLL\u3092Dependancy Walker\u3067\u898b\u3066\u307f\u308b\u3068\u3001\u5143\u3005\u30ea\u30f3\u30af\u3057\u3066\u3044\u305f\u300cVCRUNTIME140.DLL\u300d\u3068\u304b\u300cMSVCP140.DLL\u300d\u304c\u300cVCRUNTIME140_APP.DLL\u300d\u300cMSVCP140_APP.DLL\u300d\u306b\u306a\u3063\u3066\u3044\u3066\u3001\u3053\u308c\u304cUWP\u7528\u3063\u3066\u3053\u3068\u304b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Weather Typing\u306eUWP\u5316\u3067\u30cd\u30c3\u30af\u306b\u306a\u308b\u30cd\u30a4\u30c6\u30a3\u30d6C++\u306e\u90e8\u5206\u3002C#\u306b\u79fb\u690d\u3059\u308b\u306e\u306f\u305d\u3093\u306a\u306b\u5927\u5909\u3067\u306f\u306a\u3044\u306e\u3060\u304c\u3001\u30cd\u30a4\u30c6\u30a3\u30d6\u90e8\u5206\u3092\u4f7f\u3048\u308b\u3068\u3044\u308d\u3044\u308d\u4fbf\u5229\u306a\u306e\u3067\u8abf\u67fb\u3002 \u307e\u305a\u666e\u901a\u306b\u30cd\u30a4\u30c6\u30a3\u30d6DLL\u3092\u4f5c\u3063\u3066UWP\u304b\u3089P\/Invoke\u3057\u3066\u307f\u308b\u304c\u3001\u3042\u3063\u3055\u308a\u6210\u529f\u3002Windows IoT\u3067\u3082\u305d\u306e\u307e\u307e\u52d5\u3044\u305f\u3002\u7981\u6b62\u3055\u308c\u3066\u3044\u308bAPI\u3092\u4f7f\u3063\u3066\u3044\u306a\u3051\u308c\u3070\u305d\u306e\u307e\u307e\u52d5\u304f\u3089\u3057\u3044\u3002 \u3066\u3053\u3068\u3067\u8a66\u3057\u306bWindows\u30b9\u30c8\u30a2\u7528\u306b\u30d3\u30eb\u30c9\u3057\u3066\u3001Windows App Certification Kit\uff08WACK\uff09\u306b\u304b\u3051\u3066\u307f\u308b\u304c\u3001\u300cvccorlib140.dll is not supported for this application type\u300d\u3067Windows Security Features Test\u306b\u5931\u6557\u3059\u308b\u3002\u554f\u984c\u306a\u3055\u305d\u3046\u306amemset\u3068\u304bmemcpy\u3068\u304b\u304c\u5f15\u3063\u304b\u304b\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u3069\u3046\u3082\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u7528\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u898b\u3066\u3044\u308b\u305f\u3081\u3063\u307d\u3044\u3002 \u30cd\u30a4\u30c6\u30a3\u30d6DLL\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u300cConsume Windows Runtime Extension\u300d\u3068\u3044\u3046\u306e\u304c\u3042\u308a\u3001Using C++\/CX in Desktop apps\u3092\u53c2\u8003\u306b\u6709\u52b9\u306b\u3057\u3066\u307f\u308b\u304c\u5909\u308f\u3089\u305a\u3002 \u6700\u7d42\u7684\u306bHow to: Use Existing C++ Code in a Universal Windows Platform App\u3068\u3044\u3046\u305d\u306e\u307e\u307e\u306e\u30d8\u30eb\u30d7\u304c\u898b\u3064\u304b\u3063\u305f\u306e\u3067\u305d\u308c\u306b\u5f93\u3063\u3066\u3001\u4e0a\u306eC++\/CX\u306b\u52a0\u3048\u3066\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u66f8\u304d\u63db\u3048\u305f\u308a\u30d7\u30ea\u30b3\u30f3\u30d1\u30a4\u30eb\u30d8\u30c3\u30c0\u306e\u540d\u524d\u3092\u5909\u3048\u305f\u308a\u3057\u3066WACK\u306b\u901a\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002 \u3067\u304d\u3042\u304c\u3063\u305fDLL\u3092Dependancy Walker\u3067\u898b\u3066\u307f\u308b\u3068\u3001\u5143\u3005\u30ea\u30f3\u30af\u3057\u3066\u3044\u305f\u300cVCRUNTIME140.DLL\u300d\u3068\u304b\u300cMSVCP140.DLL\u300d\u304c\u300cVCRUNTIME140_APP.DLL\u300d\u300cMSVCP140_APP.DLL\u300d\u306b\u306a\u3063\u3066\u3044\u3066\u3001\u3053\u308c\u304cUWP\u7528\u3063\u3066\u3053\u3068\u304b\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2,3],"tags":[40,8],"class_list":["post-3723","post","type-post","status-publish","format-standard","hentry","category-programming","category-computer","tag-uwp","tag-weathertyping"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4ZThs-Y3","_links":{"self":[{"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/posts\/3723","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/comments?post=3723"}],"version-history":[{"count":4,"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/posts\/3723\/revisions"}],"predecessor-version":[{"id":3747,"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/posts\/3723\/revisions\/3747"}],"wp:attachment":[{"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/media?parent=3723"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/categories?post=3723"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/tags?post=3723"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}