{"id":5301,"date":"2021-03-18T21:42:07","date_gmt":"2021-03-18T13:42:07","guid":{"rendered":"http:\/\/blog.qdac.cc\/?p=5301"},"modified":"2021-03-18T21:42:08","modified_gmt":"2021-03-18T13:42:08","slug":"%e6%95%99%e7%a8%8b%e5%a6%82%e6%9e%9c%e5%9c%a8-delphi-c-builder-%e4%b8%ad%e8%b0%83%e8%af%95%e5%8d%95%e5%85%83%e5%88%9d%e5%a7%8b%e5%8c%96%e6%97%b6%e7%9a%84%e9%94%99%e8%af%af","status":"publish","type":"post","link":"https:\/\/blog.qdac.cc\/?p=5301","title":{"rendered":"[\u6559\u7a0b]\u5982\u679c\u5728 Delphi \/C++ Builder \u4e2d\u8c03\u8bd5\u5355\u5143\u521d\u59cb\u5316\u65f6\u7684\u9519\u8bef"},"content":{"rendered":"\n<p>\u6709\u65f6\u5019\uff0c\u6211\u4eec\u7a0b\u5e8f\u5728\u8fdb\u5165 Main \u51fd\u6570\u5165\u53e3\u524d\uff0c\u5c31\u5f00\u59cb\u62a5\u9519\uff0c\u6bd4\u5982 Acesss volation at XXX read at yyyy \u4e00\u7c7b\u7684\u9519\u8bef\u3002\u8fd9\u7c7b\u9519\u8bef\u4e00\u822c\u662f\u7531\u4e8e\u5355\u5143\u4e4b\u95f4\u7684\u5f15\u7528\u5173\u7cfb\u548c\u521d\u59cb\u5316\u987a\u5e8f\u4e0d\u4e00\u81f4\u9020\u6210\u7684\u3002\u6bd4\u5982\u5355\u5143 A \u7684\u521d\u59cb\u5316\u4ee3\u7801\u8c03\u7528\u4e86\u5355\u5143 B \u7684\u51fd\u6570\uff0c\u4f46\u5355\u5143 B \u6b64\u65f6\u5c1a\u672a\u521d\u59cb\u5316\uff0c\u6240\u4ee5\u5176\u4f7f\u7528\u5230\u7684\u4e00\u4e9b\u5168\u5c40\u6216\u9759\u6001\u53d8\u91cf\u6ca1\u6709\u6b63\u786e\u7684\u503c\uff0c\u9020\u6210\u7a0b\u5e8f\u5f97\u51fa\u9519\u8bef\u7684\u7ed3\u679c\u3002<\/p>\n\n\n\n<p>\u90a3\u4e48\uff0c\u9488\u5bf9\u8fd9\u79cd\u60c5\u51b5\uff0c\u8f83\u5feb\u7684\u627e\u5230\u95ee\u9898\u7684\u89e3\u51b3\u529e\u6cd5\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u5728\u51fa\u9519\u7684\u4f4d\u7f6e\u8bbe\u7f6e\u65ad\u70b9\uff0c\u5982\u679c\u662f\u7b2c\u4e00\u6b21\u8fdb\u5165\u8be5\u51fd\u6570\u65f6\u5c31\u51fa\u9519\uff0c\u90a3\u5c31\u597d\u627e\u4e86\uff0c\u5f53\u7136\u68c0\u67e5\u5b83\u8c03\u7528\u4e86\u90a3\u4e2a\u5355\u5143\u7684\u5565\u4ee3\u7801\uff0c\u5ba1\u6838\u5176\u903b\u8f91\u5c31\u53ef\u4ee5\u4e86\u3002<\/li><li>\u5982\u679c\u51fa\u9519\u7684\u4f4d\u7f6e\u662f\u91cd\u590d\u8fdb\u5165\u7684\uff0c\u90a3\u4e48\u6211\u4eec\u5c31\u9700\u8981\uff1a<ul><li>\u5224\u65ad\u5b83\u662f\u7b2c\u51e0\u6b21\u8fdb\u5165\u65f6\u51fa\u73b0\u7684\u95ee\u9898\uff1a\u5982\u679c\u6ca1\u6709\u5565\u5224\u65ad\u4f9d\u636e\uff0c\u53ef\u4ee5\u5047\u8bbe\u4e00\u4e2a\u4e2d\u95f4\u503c\uff0c\u6bd4\u5982 100\uff0c\u8bbe\u7f6e\u65ad\u70b9\uff0c\u7136\u540e\u8bbe\u7f6e\u5176 Pass count \u7684\u503c\u4e3a 100 ,\u5982\u679c\u4e0d\u51fa\uff0c\u5219\u52a0\u500d\uff0c\u5982\u679c\u51fa\u4e86\uff0c\u5219\u51cf\u534a\uff0c\u901a\u8fc7\u4e8c\u5206\u6cd5\uff0c\u51e0\u6b21\u540e\u627e\u5230\u51fa\u9519\u7684\u6b21\u6570\u3002\u5047\u8bbe\u4e3a\u7b2c 7 \u6b21\u51fa\u73b0\u7684\u9519\u8bef\uff0c\u90a3\u4e48\u6211\u4eec\u5c06 Pass count \u8bbe\u7f6e \u4e3a 6<\/li><li>\u5355\u6b65\u6267\u884c\u5230\u51fd\u6570\u9000\u51fa\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u6309 Ctrl+Alt+C  \u5207\u6362\u5230 CPU \u7a97\u53e3\uff0c\u7136\u540e\u6309 F8 \u76f4\u5230\u9047\u5230 RET \u6307\u4ee4\u8df3\u56de\u4e0a\u7ea7\u51fd\u6570\uff0c\u7136\u540e\u6309 F7 \u5355\u6b65\u8c03\u8bd5\uff0c\u6839\u636e\u6c47\u7f16\u7a97\u53e3\u7684\u63d0\u793a\u7684\u5355\u5143\u548c\u4f4d\u7f6e\u53bb\u627e\u5bf9\u5e94\u7684\u51fa\u9519\u4f4d\u7f6e\uff0c\u5982\u4e0b\u56fe\u4e2d\u5c31\u53ef\u4ee5\u770b\u5230\u5f53\u524d\u6c47\u7f16\u5185\u5bb9\u5bf9\u5e94\u7684\u662f qstring.pas \u5355\u5143\u7684 13350 \u884c\uff0c\u6211\u4eec\u53ef\u4ee5\u5207\u6362\u5230\u5bf9\u5e94\u7684\u5355\u5143\u8fdb\u4e00\u6b65\u53bb\u770b\u975e\u6c47\u7f16\u7684\u6e90\u7801\uff1a<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"328\" class=\"wp-image-5302\" style=\"width: 800px;\" src=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2021\/03\/\u622a\u56fe\u5f55\u5c4f_\u9009\u62e9\u533a\u57df_20210318213901.png\" alt=\"\" srcset=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2021\/03\/\u622a\u56fe\u5f55\u5c4f_\u9009\u62e9\u533a\u57df_20210318213901.png 1001w, https:\/\/blog.qdac.cc\/wp-content\/uploads\/2021\/03\/\u622a\u56fe\u5f55\u5c4f_\u9009\u62e9\u533a\u57df_20210318213901-300x123.png 300w, https:\/\/blog.qdac.cc\/wp-content\/uploads\/2021\/03\/\u622a\u56fe\u5f55\u5c4f_\u9009\u62e9\u533a\u57df_20210318213901-768x315.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/li><\/ul><ul><li>\u627e\u5230\u51fa\u9519\u4f4d\u7f6e\u540e\uff0c\u53ef\u4ee5\u5c06\u5bf9\u5e94\u7684\u521d\u59cb\u5316\u4ee3\u7801\u60f3\u529e\u6cd5\u5ef6\u8fdf\u5230\u5176\u5b83\u4ee3\u7801\u521d\u59cb\u5316\u5b8c\u6210\u540e\u518d\u8c03\u7528\u3002<\/li><\/ul><\/li><\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6709\u65f6\u5019\uff0c\u6211\u4eec\u7a0b\u5e8f\u5728\u8fdb\u5165 Main \u51fd\u6570\u5165 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[69,8,9,603],"tags":[],"class_list":["post-5301","post","type-post","status-publish","format-standard","hentry","category-c-builder","category-delphi","category-qdac","category-603"],"views":2969,"_links":{"self":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/5301","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5301"}],"version-history":[{"count":1,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/5301\/revisions"}],"predecessor-version":[{"id":5303,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/5301\/revisions\/5303"}],"wp:attachment":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}