{"id":3765,"date":"2016-04-01T19:39:48","date_gmt":"2016-04-01T11:39:48","guid":{"rendered":"http:\/\/blog.qdac.cc\/?p=3765"},"modified":"2016-04-01T19:39:48","modified_gmt":"2016-04-01T11:39:48","slug":"%e6%8a%80%e5%b7%a7-dll-%e4%b8%ad%e4%bd%bf%e7%94%a8%e5%a4%9a%e7%ba%bf%e7%a8%8b%e7%9a%84%e4%b8%80%e7%82%b9%e6%8f%90%e7%a4%ba","status":"publish","type":"post","link":"https:\/\/blog.qdac.cc\/?p=3765","title":{"rendered":"[\u6280\u5de7] DLL \u4e2d\u4f7f\u7528\u591a\u7ebf\u7a0b\u7684\u4e00\u70b9\u63d0\u793a"},"content":{"rendered":"<p>\u5728 Delphi \u6216 C++ Builder \u4e2d\uff0c\u5982\u679c\u4f60\u4f7f\u7528 TThread \u7684\u5b50\u7c7b\u5b9e\u73b0\u591a\u7ebf\u7a0b\uff0c\u5982\u679c\u4f60\u5728 DLL \u5378\u8f7d\u524d\uff0c\u6ca1\u6709\u5355\u72ec\u63d0\u524d\u7ec8\u6b62\u7ebf\u7a0b\uff0c\u53ef\u80fd\u4f1a\u9020\u6210 DLL \u9501\u6b7b\u65e0\u6cd5\u9000\u51fa\u3002\u67e5\u770b\u7ebf\u7a0b\u7684\u6808\u548c\u4e3b\u7ebf\u7a0b\u7684\u6808\uff0c\u4f60\u4f1a\u53d1\u73b0\u4e24\u8005\u76f8\u4e92\u7b49\u5f85\uff0c\u5904\u4e8e\u6b7b\u9501\u72b6\u6001\u3002\u6240\u4ee5\uff0c\u6b63\u786e\u7684\u505a\u6cd5\u662f\u5728\u4e3b\u7a0b\u5e8f\u9000\u51fa\u524d\uff0c\u5982\u4e3b\u7a97\u4f53\u7684 OnClose \u91cc\uff0c\u8c03\u7528 DLL \u4e2d\u7684\u67d0\u4e9b\u65b9\u6cd5\u6216\u8005\u901a\u8fc7\u67d0\u4e9b\u5176\u5b83\u624b\u6bb5\uff08\u81ea\u884c\u8111\u8865\uff09\uff0c\u63d0\u524d\u91ca\u653e DLL \u4e2d\u7684\u7ebf\u7a0b\uff0c\u7a0b\u5e8f\u5c31\u53ef\u4ee5\u6b63\u786e\u9000\u51fa\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 Delphi \u6216 C++ Build [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","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,21],"tags":[],"class_list":["post-3765","post","type-post","status-publish","format-standard","hentry","category-c-builder","category-delphi","category-misc"],"views":3566,"_links":{"self":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/3765","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=3765"}],"version-history":[{"count":1,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/3765\/revisions"}],"predecessor-version":[{"id":3766,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/3765\/revisions\/3766"}],"wp:attachment":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}