{"id":94051,"date":"2020-04-23T04:31:35","date_gmt":"2020-04-22T20:31:35","guid":{"rendered":"http:\/\/4563.org\/?p=94051"},"modified":"2020-04-23T04:31:35","modified_gmt":"2020-04-22T20:31:35","slug":"win-%e4%b8%8a%e7%9a%84%e7%a8%8b%e5%ba%8f%e6%9c%89%e5%8f%af%e8%83%bd%e4%b8%8d%e4%bd%bf%e7%94%a8-msvcrt-%e5%90%97%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=94051","title":{"rendered":"Win \u4e0a\u7684\u7a0b\u5e8f\u6709\u53ef\u80fd\u4e0d\u4f7f\u7528 msvcrt \u5417\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  Win \u4e0a\u7684\u7a0b\u5e8f\u6709\u53ef\u80fd\u4e0d\u4f7f\u7528 msvcrt \u5417\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : linxy19957 <\/span>  <span><i><\/i> 23<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u5728 Windows \u4e0a\uff0c\u6709\u53ef\u80fd\u7f16\u8bd1\u4e00\u4e2a\u4ec5\u8c03\u7528 win32api\uff0c\u4e0d\u4f7f\u7528\u4efb\u4f55 C \u5e93\u7684\u7a0b\u5e8f\u5417\uff1f<br \/> \u4e0d\u4f7f\u7528\u7c7b\u4f3c\u4e8e \/MT \u4e4b\u7c7b\u7684\u9759\u6001\u94fe\u63a5\uff0c\u4f7f\u7a0b\u5e8f\u5c3d\u53ef\u80fd\u7684\u5c0f<br \/> \u5355\u7eaf\u597d\u5947\u65e2\u7136\u6709 win32api \u4e86\uff0c\u4e3a\u5565\u8fd8\u8981 C \u5e93<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>5<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"1186485\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : murmur <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             windows \u7684\u517c\u5bb9\u6027\u975e\u5e38\u5e7f\uff0c\u4ece win98 \u5230 win10 \u6709\u7684\u7a0b\u5e8f\u90fd\u53ef\u4ee5\u8dd1\uff0c\u4f60\u4e0d\u80fd\u7528 win10 \u7684\u773c\u5149\u770b win98 \u5e74\u4ee3\u7684\u7a0b\u5e8f\uff0c\u5728\u90a3\u4e2a\u5e74\u4ee3 vc6 \u5c31\u662f\u5f88\u65b0\u7684\u5e93\uff0c\u5fc5\u987b\u5e26\u7740                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1186486\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : linxy19957 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @murmur \u6211\u7684\u610f\u601d\u662f\uff0cwin32 \u6709\u5b9e\u73b0\u4e00\u5957\u7c7b\u4f3c\u4e8e C \u5e93\u7684\u51fd\u6570\uff0c\u4f8b\u5982 lstrcpyA \u5bf9\u5e94 strcpy\uff0cCopyMemory \u5bf9\u5e94 memcpy\uff0c\u5982\u679c\u7a0b\u5e8f\u5728\u5f00\u53d1\u65f6\u5c31\u53ea\u4f7f\u7528\u4e86 win32 \u7684\u90a3\u5957\u51fd\u6570\u800c\u6ca1\u6709\u4f7f\u7528 strcpy \u4e4b\u7c7b\u7684 C \u51fd\u6570\uff0c\u662f\u5426\u80fd\u7f16\u8bd1\u51fa\u4e00\u4e2a\u4e0d\u4f9d\u8d56 msvcrt \u7684\u7a0b\u5e8f\uff1f\u6216\u8005 win98 \u5e74\u4ee3\u7684 win32api \u6ca1\u6709\u90a3\u5957\u51fd\u6570\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1186487\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : GeruzoniAnsasu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5b8c\u5168\u53ef\u4ee5\uff0cgoogle \u641c\u4e00\u641c\u5c31\u77e5\u9053<\/p>\n<p>\u81f3\u4e8e\u4e3a\u5565\u8fd8\u8981 C \u5e93\uff0c\u6700\u7b80\u5355\u7684\u56de\u7b54\uff1a\u56e0\u4e3a\u4f60\u8981\u7528 malloc                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1186488\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : linxy19957 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @GeruzoniAnsasu \u4ed4\u7ec6\u627e\u4e00\u4e0b\u8fd8\u771f\u7684\u6709\uff0c\u611f\u8c22\uff0c\u4e4b\u524d\u627e\u7684\u90fd\u8ba9\u6211\u7528 \/MT<br \/>\u5927\u6982\u662f\u4f7f\u7528 \/MT,\/NODEFAULTLIB,\/GS-,\u624b\u52a8\u5b9a\u4e49\u5165\u53e3\u51fd\u6570\u548c\u5b50\u7cfb\u7edf                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1186489\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : crella <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Visual Basic6 \uff1f\u4f9d\u8d56 msvbvm**.dll                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>Win \u4e0a\u7684\u7a0b\u5e8f\u6709\u53ef\u80fd\u4e0d\u4f7f\u7528 ms&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/94051"}],"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=94051"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/94051\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=94051"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=94051"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=94051"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}