{"id":331,"date":"2014-08-28T21:38:31","date_gmt":"2014-08-28T13:38:31","guid":{"rendered":"http:\/\/blog.qdac.cc\/?p=331"},"modified":"2014-08-28T21:40:21","modified_gmt":"2014-08-28T13:40:21","slug":"%e5%a6%82%e4%bd%95%e7%bc%96%e8%af%91delphi%e7%bb%84%e4%bb%b6%e8%ae%a9%e5%85%b6%e5%9c%a8c-builder%e4%b8%ad%e5%8f%af%e7%94%a8%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/blog.qdac.cc\/?p=331","title":{"rendered":"\u5982\u4f55\u7f16\u8bd1Delphi\u7ec4\u4ef6\u8ba9\u5176\u5728C++ Builder\u4e2d\u53ef\u7528\uff1f"},"content":{"rendered":"<p>Delphi\u4e0b\u6709\u8bb8\u591a\u5f88\u597d\u7684VCL\u7ec4\u4ef6\uff0c\u4f46\u4f5c\u8005\u5374\u6ca1\u6709\u63d0\u4f9bC++ Builder\u7684\u7248\u672c\uff0c\u8fd9\u8bb8\u591a\u65f6\u5019\u662f\u56e0\u4e3a\u4f5c\u8005\u5c31\u662f\u7eafDelphier\uff0c\u4e0d\u4e86\u89e3C++\uff0c\u53e6\u5916\u8fd8\u6709\u53ef\u80fd\u662f\u56e0\u4e3a\u4f5c\u8005\u672c\u8eab\u5c31\u5f88\u61d2\uff0c\u6839\u672c\u5c31\u6ca1\u6709\u8003\u8651\u5230C++ Builder\u7684\u5e7f\u5927\u4eba\u6c11\u7fa4\u4f17\u3002\u90a3\u4e48\uff0c\u505a\u4e3a\u82e6\u96be\u6df1\u4f17\u7684C++ Builder\u7528\u6237\u96be\u9053\u5c31\u6b64\u653e\u5f03\u5417?\u7edd\u4e0d\uff01\uff08\u6b64\u5904\u5e94\u8be5\u6709\u638c\u58f0\uff09<\/p>\n<p>\u5b9e\u9645\u4e0a\uff0c\u7edd\u5927\u591a\u6570Delphi\u63a7\u5236\u90fd\u53ef\u4ee5\u65e0\u7f1d\u7684\u8fc1\u79fb\u5230C++ Builder\u4e0b\u7684\uff0c\u6211\u4eec\u4ee5\u8457\u540d\u7684VirtualTreeView\u4e3a\u4f8b\uff0c\u770b\u6211\u4eecCB\u7528\u6237\u5982\u4f55\u73a9\u4e7e\u5764\u5927\u632a\u79fb\uff01<\/p>\n<p>1\u3001\u9996\u5148\uff0c\u6211\u4eec\u8981\u4f7f\u7528Rad Studio\uff0c\u800c\u4e0d\u662fDelphi\u6216C++Builder\u6765\u64cd\u4f5c\uff0c\u6240\u4ee5\u6ce8\u610f\u7b2c\u4e00\u70b9\uff0c\u5426\u5219\u53ef\u4f1a\u5931\u8d25\u54df\u3002\u5982\u679c\u4f60\u53ea\u88c5\u4e86CB\u6216\u53ea\u88c5\u4e86Delphi\uff0c\u4f60\u5c31\u91cd\u88c5\u5427\u3002<\/p>\n<p>2\u3001\u6253\u5f00\u76f8\u5e94\u7248\u672c\u7684Delphi\u7248\u76ee\u5f55\uff0c\u53d1\u73b0\u6709\u4e24\u4e2aVirtualTreesD\u548cVirtualTreesR\u4e24\u4e2aDelphi\u5b89\u88c5\u5305\uff0c\u4ece\u6211\u4eec\u65e0\u6bd4\u5e78\u798f\u7684Delphi\u7528\u6237\u90a3\u91cc\uff0c\u6211\u4eec\u53ef\u4ee5\u7a83\u542c\u5230\u4e00\u4e2a\u91cd\u8981\u7684\u4fe1\u606f\uff1a\u4ee5R\u7ed3\u5c3e\u7684\u4e00\u822c\u662f\u8fd0\u884c\u65f6\u5305\uff0c\u4ee5D\u7ed3\u5c3e\u7684\u4e00\u822c\u662f\u8bbe\u8ba1\u671f\u5305\u3002\u6240\u4ee5\u6211\u4eec\u8981\u5148\u6253\u5f00\u8fd0\u884c\u671f\u5305VirtualTreesR.dpk\uff1a<\/p>\n<p><a href=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/08\/QQ\u622a\u56fe20140828212742.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-332 aligncenter\" src=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/08\/QQ\u622a\u56fe20140828212742-300x264.jpg\" alt=\"QQ\u622a\u56fe20140828212742\" width=\"300\" height=\"264\" srcset=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/08\/QQ\u622a\u56fe20140828212742-300x264.jpg 300w, https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/08\/QQ\u622a\u56fe20140828212742.jpg 646w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">3\u3001\u6253\u5f00\u9879\u76ee\u9009\u9879\uff08Project-&gt;Options\uff09\uff0c\u7136\u540e\u627e\u5230\u5173\u952e\u7684\u5730\u65b9\uff1aDelphi Compiler-&gt;Output-C\/C++\uff0c\u5728\u6700\u53f3\u4fa7\u7684C\/C++ Output file generation\u91cc\uff0c\u9009\u4e2dGenerate all C++ Builder files(Including package libs)\u9009\u9879\uff0c\u7136\u540e\u9009OK\u5173\u95ed\u7a97\u53e3\u3002<\/p>\n<p style=\"text-align: left;\"><a href=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/08\/QQ\u622a\u56fe20140828213228.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-333 aligncenter\" src=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/08\/QQ\u622a\u56fe20140828213228-300x239.jpg\" alt=\"QQ\u622a\u56fe20140828213228\" width=\"300\" height=\"239\" srcset=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/08\/QQ\u622a\u56fe20140828213228-300x239.jpg 300w, https:\/\/blog.qdac.cc\/wp-content\/uploads\/2014\/08\/QQ\u622a\u56fe20140828213228.jpg 755w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">4\u3001Ctrl+F9\u7f16\u8bd1\u9879\u76ee\uff0c\u5b8c\u6210\u8fd0\u884c\u65f6\u5305\u7684\u7f16\u8bd1\u3002<\/p>\n<p style=\"text-align: left;\">5\u3001\u91cd\u590d\u4e0a\u9762\u7684\u6b65\u9aa4\u6253\u5f00VirtualTreesD.dpk\uff0c\u7136\u540e\u4fee\u6539\u5b8c\u9009\u9879\u540e\uff0c\u9009\u62e9Install\u6765\u5b89\u88c5\u5305\uff0c\u7136\u540e\u4f60\u4f1a\u5e78\u8fd0\u7684\u5f97\u5230\u63d0\u793a\uff0c\u63d0\u793a\u4f60\u7ec4\u4ef6\u5df2\u7ecf\u5b89\u88c5\u6210\u529f\u4e86\u3002<\/p>\n<p style=\"text-align: left;\">6\u3001\u73b0\u5728\u65b0\u5efa\u4e00\u4e2a\u9879\u76ee\uff0c\u5230\u7ec4\u4ef6\u9762\u677f\u4e0a\u627eTVirtualStringTree\u5427\u3002<\/p>\n<p style=\"text-align: left;\">\u540c\u6837\u7684\u7ecf\u9a8c\u9002\u7528\u4e8e\u5176\u5b83\u7edd\u5927\u591a\u6570Delphi\u63a7\u4ef6\uff0c\u6bd4\u5982Graphics32\uff0c\u4f46\u6ce8\u610f\u4f60\u53ef\u80fd\u9700\u8981\u5bf9\u6700\u7ec8\u751f\u6210\u7684HPP\u6587\u4ef6\u505a\u4e00\u4e9b\u6539\u52a8\uff0c\u4ee5\u907f\u514d\u4e0eC++\u91cc\u81ea\u5e26\u7684\u5185\u5bb9\u51b2\u7a81\uff0c\u8fd9\u4e2a\u9047\u5230\u4e00\u5904\u6539\u6389\u4e00\u5904\uff0c\u5c31\u4e0d\u518d\u7f00\u8ff0\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Delphi\u4e0b\u6709\u8bb8\u591a\u5f88\u597d\u7684VCL\u7ec4\u4ef6\uff0c\u4f46 [&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":[8],"tags":[],"class_list":["post-331","post","type-post","status-publish","format-standard","hentry","category-delphi"],"views":3962,"_links":{"self":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/331","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=331"}],"version-history":[{"count":3,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/331\/revisions"}],"predecessor-version":[{"id":336,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/331\/revisions\/336"}],"wp:attachment":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=331"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}