{"id":554691,"date":"2022-02-13T06:33:07","date_gmt":"2022-02-12T22:33:07","guid":{"rendered":"http:\/\/4563.org\/?p=554691"},"modified":"2022-02-13T06:33:07","modified_gmt":"2022-02-12T22:33:07","slug":"%e6%96%b0%e6%89%8b%e8%af%b7%e6%95%99%e4%bd%bf%e7%94%a8-vs2017-%e5%88%9b%e5%bb%ba-dll-%e9%a1%b9%e7%9b%ae%e5%90%8e%ef%bc%8c%e5%a6%82%e4%bd%95%e8%87%aa%e5%8a%a8%e7%94%9f%e6%88%90-stdafx-h-%e5%92%8c-tar-4","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=554691","title":{"rendered":"\u65b0\u624b\u8bf7\u6559\u4f7f\u7528 VS2017 \u521b\u5efa Dll \u9879\u76ee\u540e\uff0c\u5982\u4f55\u81ea\u52a8\u751f\u6210 stdafx.h \u548c targetver.h \u8fd9 2 \u4e2a\u6587\u4ef6?"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1> \u65b0\u624b\u8bf7\u6559\u4f7f\u7528 VS2017 \u521b\u5efa Dll \u9879\u76ee\u540e\uff0c\u5982\u4f55\u81ea\u52a8\u751f\u6210 stdafx.h \u548c targetver.h \u8fd9 2 \u4e2a\u6587\u4ef6? <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : s609926202 <\/span>  <span><i><\/i> 26<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2022\/01\/20220116_61e3e361098de.png\" rel=\"noreferrer\" alt=\"\u65b0\u624b\u8bf7\u6559\u4f7f\u7528 VS2017 \u521b\u5efa Dll \u9879\u76ee\u540e\uff0c\u5982\u4f55\u81ea\u52a8\u751f\u6210 stdafx.h \u548c targetver.h \u8fd9 2 \u4e2a\u6587\u4ef6?\"><br \/>\u8fd9\u56db\u4e2a\u5176\u4ed6\u9009\u9879\u65e0\u8bba\u600e\u4e48\u7ec4\u5408\u52fe\u9009\uff0c\u521b\u5efa\u9879\u76ee\u540e\u5e76\u6ca1\u6709\u51fa\u73b0 stdafx.h \u548c targetver.h \u8fd9 2 \u4e2a\u6587\u4ef6\u3002<br \/>\u4f46\u662f\uff0c\u770b\u7684\u89c6\u9891\u6559\u7a0b\u4e2d\uff0c\u540c\u6837\u4f7f\u7528 VS2017 \u521b\u5efa\u9879\u76ee\u540e\uff0c\u8fd9 2 \u4e2a\u6587\u4ef6\u662f\u4f1a\u81ea\u52a8\u751f\u6210\u7684\u3002\u3002<br \/>\u8fd9\u4e2a\u662f\u4ec0\u4e48\u60c5\u51b5\uff0cVS2017 \u7248\u672c\u4e0d\u540c\u5417\u3001\u3001  <\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>3<\/span>) <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"7046624\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wangxn <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u9009\u90a3\u4e2a\u9884\u7f16\u8bd1\u5934\u7684\u9009\u9879\u53ef\u4ee5\u751f\u6210\u7b2c\u4e00\u4e2a\u6587\u4ef6 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7046625\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : s609926202 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @wangxn \u5e76\u6ca1\u6709\uff0c\u5982\u4e0b\u56fe\u4ed6\u751f\u6210\u4e86\u4e00\u4e2a pch.h \uff0c\u4e00\u4e2a framework.h <br \/><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2022\/01\/20220116_61e3e364a21c6.png\" rel=\"noreferrer\" alt=\"\u65b0\u624b\u8bf7\u6559\u4f7f\u7528 VS2017 \u521b\u5efa Dll \u9879\u76ee\u540e\uff0c\u5982\u4f55\u81ea\u52a8\u751f\u6210 stdafx.h \u548c targetver.h \u8fd9 2 \u4e2a\u6587\u4ef6?\"><br \/><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2022\/01\/20220116_61e3e36845829.png\" rel=\"noreferrer\" alt=\"\u65b0\u624b\u8bf7\u6559\u4f7f\u7528 VS2017 \u521b\u5efa Dll \u9879\u76ee\u540e\uff0c\u5982\u4f55\u81ea\u52a8\u751f\u6210 stdafx.h \u548c targetver.h \u8fd9 2 \u4e2a\u6587\u4ef6?\"> <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7046626\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ysc3839 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u9009\u62e9\u9884\u7f16\u8bd1\u5934\u5373\u53ef\u3002stdafx.h \u53ea\u662f\u4e2a\u9884\u7f16\u8bd1\u5934\u7684\u6587\u4ef6\u540d\uff0c\u73b0\u5728\u6539\u6210\u4e86 pch.h \u800c\u5df2\uff0c\u53eb\u5565\u540d\u4e0d\u5f71\u54cd\u529f\u80fd\u3002<br \/>targetver.h \u7684\u5185\u5bb9\u4e00\u822c\u662f<br \/>&#8220;`<br \/>#pragma once<br \/>\/\/ \/\/ Including SDKDDKVer.h defines the highest available Windows platform.<br \/>\/\/ If you wish to build your application for a previous Windows platform, include WinSDKVer.h and<br \/>\/\/ set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.<br \/>#include &lt;SDKDDKVer.h&gt;<br \/>&#8220;`<br \/>\u610f\u601d\u662f\u5982\u679c\u4f60\u60f3\u8ba9\u7a0b\u5e8f\u80fd\u5728\u65e7\u7684 Windows \u4e2d\u8dd1\uff0c\u53ef\u4ee5\u5728\u8fd9\u91cc\u5b9a\u4e49\u7248\u672c\u53f7\uff0c\u7136\u540e\u5934\u6587\u4ef6\u4f1a\u628a\u65b0\u7684 API \u7ed9\u5c4f\u853d\u6389\u3002<br \/>\u5bf9\u4e8e\u521d\u5b66\u8005\u6765\u8bf4\u6211\u4e2a\u4eba\u4e0d\u5efa\u8bae\u7ba1\u8fd9\u4e9b\uff0c\u76f4\u63a5 include \u5373\u53ef\uff0c\u7b49\u540e\u9762\u5f00\u59cb\u5199\u590d\u6742\u9879\u76ee\u4e86\u518d\u6765\u770b\u8fd9\u4e9b\u5185\u5bb9\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u65b0\u624b\u8bf7\u6559\u4f7f\u7528 VS2017 \u521b\u5efa &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/554691"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=554691"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/554691\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=554691"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=554691"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=554691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}