{"id":2280,"date":"2015-04-09T14:00:33","date_gmt":"2015-04-09T06:00:33","guid":{"rendered":"http:\/\/blog.qdac.cc\/?p=2280"},"modified":"2015-04-09T14:00:33","modified_gmt":"2015-04-09T06:00:33","slug":"delphic-builder-xe-8-%e4%bd%a0%e5%ba%94%e8%af%a5%e7%9f%a5%e9%81%93%e7%9a%84%e4%b8%80%e4%ba%9b%e4%b8%9c%e8%a5%bf","status":"publish","type":"post","link":"https:\/\/blog.qdac.cc\/?p=2280","title":{"rendered":"Delphi\/C++ Builder XE 8 \u4f60\u5e94\u8be5\u77e5\u9053\u7684\u4e00\u4e9b\u4e1c\u897f"},"content":{"rendered":"<p>1\u3001FireMonkey<\/p>\n<ul>\n<li>\u5728\u521b\u5efa\u5b50\u89c6\u56fe\u65f6\uff0c\u4e3b\u89c6\u56fe\u6240\u6709\u7684\u63a7\u4ef6\u5fc5\u9700\u5df2\u7ecf\u547d\u540d\uff0c\u5982\u679c\u4f60\u7684\u63a7\u4ef6\u6ca1\u6709\u547d\u540d\uff0cXE8 \u4f1a\u5f39\u51fa\u4e0b\u9762\u7684\u9519\u8bef\uff1a<\/li>\n<\/ul>\n<blockquote><p>Cannot inherit from form &#8216;FormName&#8221;. It contains a component with a blank name property.<\/p>\n<p>\u89e3\u51b3\u529e\u6cd5\u662f\u5c06\u4e3b\u89c6\u56fe\u4e2d\u6240\u6709\u7684\u63a7\u4ef6\u547d\u597d\u540d\u3002<\/p><\/blockquote>\n<ul>\n<li>iOS \u5e94\u7528\u5728\u4f7f\u7528 Running without Debugging \u6a21\u5f0f\u5728\u8bbe\u5907\u4e0a\u8fd0\u884c\u540e\uff0c\u53ef\u80fd\u6ca1\u6709\u6b63\u786e\u7684\u5173\u95ed\u6216\u91cd\u65b0\u6253\u5f00\n<ul>\n<li>\u89e3\u51b3\u529e\u6cd5\uff1a\u5728\u8bbe\u5907\u4e0a\u7684\u8bdd\uff0c\u624b\u52a8\u5f3a\u5236\u7ed3\u675f\u5e94\u7528\uff1b\u5728\u6a21\u62df\u5668\u4e0a\u7684\u8bdd\uff0c\u5728 PAServer \u4e2d\u8f93\u5165 r \u91cd\u7f6e\u72b6\u6001\uff1b<\/li>\n<\/ul>\n<\/li>\n<li>TWebBrowser \u5728\u67d0\u4e9b\u5e73\u53f0\u4e0a\u53ef\u80fd\u4e0d\u652f\u6301\u67d0\u4e9b\u94fe\u63a5\u884c\u4e3a\uff0c\u4f8b\u5982 Target \u8bbe\u7f6e\u4e3a<b>Target<\/b>\u00a0 &#8220;_blank&#8221; \u6216 &#8220;_search&#8221;\n<ul>\n<li>Android \u548c iOS \u5e73\u53f0\uff1a\u5e94\u7528\u7a0b\u5e8f\u6253\u5f00\u4e00\u4e2a\u540c\u6837\u7684TWebBrowse\u7a97\u53e3\uff1b<\/li>\n<li>Windows \u5e73\u53f0\uff1a\u5e94\u7528\u7a0b\u5e8f\u6253\u5f00\u4e00\u4e2a\u76ee\u6807\u7f51\u9875\u7684\u65b0IE\u7a97\u53e3\uff1b<\/li>\n<li>Mac OS X \u5e73\u53f0\uff1a\u70b9\u51fb\u6ca1\u6709\u4efb\u4f55\u6548\u679c\uff1b<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>2\u3001C++ Builder<\/p>\n<ul>\n<li>\u00a0Mac OS X \u5e94\u7528\u53ef\u80fd\u5728\u53d1\u751f OS \u5f02\u5e38\u65f6\u6302\u8d77\n<ul>\n<li>\u89e3\u51b3\u529e\u6cd5\uff1a\u91cd\u542fPAServer\uff0c\u5982\u679c\u8fd8\u884c\u4e0d\u884c\uff0c\u91cd\u542fIDE\u8bd5\u8bd5\uff1b<\/li>\n<\/ul>\n<\/li>\n<li>\u5728 iOS \u5e94\u7528\u4e2d DWORD \u548c ULONG \u91cd\u590d\u58f0\u660e\u7684\u95ee\u9898\n<ul>\n<li>OS X \u5934\u6587\u4ef6 &#8220;iodbcunix.h&#8221; \u548c &#8220;sqltypes.h&#8221; \u58f0\u660e\u4e86\u8fd9\u4e24\u4e2a\u7c7b\u578b\uff0c\u800c C++Builder \u7684 sysmac.h \u4e5f\u58f0\u660e\u4e86\u5b83\u3002\u89e3\u51b3\u529e\u6cd5\u662f\u5728 iOS \u7f16\u8bd1\u914d\u7f6e\u91cc\u5b9a\u4e49\u6761\u4ef6\u7f16\u8bd1\u9009\u9879\uff1a_DWORD_DEFINED; _ULONG_DEFINED<\/li>\n<\/ul>\n<\/li>\n<li>DUnit\n<ul>\n<li>\u9700\u8981\u5728Project -&gt; Options -&gt; C++ Linker \u4e2d\u8bbe\u7f6e\u00a0Link with the Delphi Runtime Library (rtl package and cp32mt.lib\/cp32mti.lib) \u9009\u9879\u4e3atrue\uff1b<\/li>\n<li>\u5728\u00a0OS X \u00a0\u5e94\u7528\u4e2d\uff0c\u53d1\u5e03 bplDUnitXRuntime22.dylib \u8fd0\u884c\u65f6\u95f4\u5305\uff1b<\/li>\n<\/ul>\n<\/li>\n<li>\u4f7f\u7528\u4e00\u4e2a C++ Builder \u7ec4\u4ef6\u5305\u65f6\u4e0d\u4f1a\u81ea\u52a8\u5bfc\u5165\u4f9d\u8d56\u5173\u7cfb\uff0c\u4f1a\u62a5\u544a\u627e\u4e0d\u5230 xxx.obj\n<ul>\n<li>\u89e3\u51b3\u529e\u6cd5\uff1a\u624b\u52a8\u5728\u9879\u76ee\u7ba1\u7406\u5668\u7684 Require \u91cc\u589e\u52a0\u4f9d\u8d56\u7684\u5305<\/li>\n<\/ul>\n<\/li>\n<li>DirectX \u5934\u6587\u4ef6\uff1a\u4e22\u5931 d3d.h \u7b49\u6587\u4ef6\n<ul>\n<li><a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/ee663275(v=vs.85).aspx\" target=\"_blank\">\u4e0b\u8f7d\u5fae\u8f6f\u7684 DirectX SDK<\/a><\/li>\n<\/ul>\n<\/li>\n<li>BCC 64\uff1a\u4e8b\u4ef6\u4e2d\u7ed3\u6784\u4f53\u62165-8\u4e2a\u5b57\u8282\u7684\u96c6\u5408\u4f5c\u4e3a\u503c\u53c2\u4f20\u9012\u4e0d\u518d\u6709\u6548\u3002\n<ul>\n<li>\u5982\u679c\u8981\u7f16\u8bd1 32 \u4f4d\u548c 64 \u4f4d\u7248\u672c\u65f6\uff0c\u624b\u52a8\u6761\u4ef6\u7f16\u8bd1\u5427<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<pre class=\"lang:c++ decode:true \">#ifndef _WIN64\r\ntypedef void __fastcall (__closure *TContextPopupEvent)(System::TObject* Sender, const System::Types::TPoint &amp;MousePos, bool &amp;Handled);\r\n#else \/* _WIN64 *\/\r\ntypedef void __fastcall (__closure *TContextPopupEvent)(System::TObject* Sender, System::Types::TPoint MousePos, bool &amp;Handled);\r\n#endif \/* _WIN64 *\/<\/pre>\n<ul>\n<li>\u00a0\u5728\u4f7f\u7528\u63a5\u53e3\u505a\u4e3a\u53c2\u6570\u65f6\uff0c\u4e0d\u80fd\u624b\u52a8\u5c06 IDE \u751f\u6210\u7684\u4e8b\u4ef6\u51fd\u6570\u6307\u5b9a\u7ed9\u4e8b\u4ef6\n<ul>\n<li>\u56e0\u4e3a\u4e24\u8005\u7684\u58f0\u660e\u4e0d\u4e00\u6837\uff08\u7537\u4eba\u54ed\u5427\u54ed\u5427\u4e0d\u662f\u7f6a\uff09\uff0c\u770b\u4f8b\u5b50\uff0c\u8fd9\u4e2a\u662f\u901a\u8fc7 Delphi \u5355\u5143\u751f\u6210\u7684\u63a5\u53e3\u7c7b\u578b\u5b9a\u4e49\uff1a<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<pre class=\"lang:c++ decode:true\">typedef void __fastcall (__closure *TFDConnectionRecoverEvent)(System::TObject* ASender,\r\n  const Firedac::Stan::Intf::_di_IFDStanObject AInitiator, \/\/ &lt;&lt;&lt; ***\r\n  System::Sysutils::Exception* AException,\r\n  Firedac::Phys::Intf::TFDPhysConnectionRecoverAction &amp;AAction);<\/pre>\n<p>\u4e0b\u9762\u662f IDE \u751f\u6210\u7684\u4e8b\u4ef6\u54cd\u5e94\u51fd\u6570\u5b9a\u4e49\uff1a<\/p>\n<pre class=\"lang:c++ decode:true\">void __fastcall TForm1::FDConnection1Recover(TObject *ASender,\r\n          const IFDStanObject *AInitiator, \/\/ &lt;&lt;&lt; ***\r\n          Exception *AException,\r\n          TFDPhysConnectionRecoverAction &amp;AAction)<\/pre>\n<p>\u800c\u89e3\u51b3\u7684\u529e\u6cd5\u5c31\u662f\uff1a\u5c06 IDE \u751f\u6210\u7684\u4e8b\u4ef6\u54cd\u5e94\u51fd\u6570\u4fee\u6539\u540e\u52a8\u6001\u5173\u8054\u3002<\/p>\n<p>3\u3001Delphi<\/p>\n<ul>\n<li>Android \u548c iOS \u7a0b\u5e8f\u4f7f\u5f97\u00a0AtomicCmpExchange \u51fd\u6570\u53ef\u80fd\u9020\u6210\u7a0b\u5e8f\u6302\u8d77\n<ul>\n<li>\u5c06\u76f8\u5e94\u7684\u5185\u5bb9\u79fb\u5165\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u5355\u5143\uff0c\u7136\u540e\u4f7f\u7528 {$D-} \u7f16\u8bd1\u9009\u9879\u6765\u7981\u6b62\u76f8\u5173\u7684\u8c03\u8bd5\u4fe1\u606f<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>4\u3001IDE<\/p>\n<ul>\n<li>iOS \u5e94\u7528\u7684 CFBundleIdentifier \u8bbe\u7f6e\u53ef\u80fd\u4f1a\u4e22\u5931\uff1b<\/li>\n<li>\u5728\u591a\u8bbe\u5907\u7a97\u4f53\u8bbe\u8ba1\u5668\uff0c\u53ea\u80fd\u4ece\u4e3b\u89c6\u56fe\u5220\u9664\u4e00\u4e2a\u7ec4\u4ef6\uff1b<\/li>\n<li>\u91cd\u547d\u540d iOS \u5de5\u7a0b\u53ef\u80fd\u5728\u8fd0\u884c\u6216\u9ad8\u5ea6\u65f6\u5931\u8d25\n<ul>\n<li>\u8fdb Project -&gt; Deployment \u9009\u62e9\u00a0Revert To Default<\/li>\n<\/ul>\n<\/li>\n<li>Windows Server 2008 \u4e0a\u79fb\u52a8\u8bbe\u5907\u8bbe\u7f6e\u5411\u5bfc\u5185\u5bb9\u88ab\u963b\u6b62\n<ul>\n<li>\u70b9\u51fb\u6dfb\u52a0\u6309\u94ae\u6dfb\u52a0\u4f8b\u5916<\/li>\n<\/ul>\n<\/li>\n<li>\u00a0\u7248\u672c\u4fe1\u606f\u4e0d\u4f1a\u4ece\u00a0All Platforms \u7ee7\u627f\uff0c\u4e3a\u6bcf\u4e00\u4e2a\u5e73\u53f0\u5355\u72ec\u8bbe\u7f6e\uff1b<\/li>\n<\/ul>\n<p>5\u3001\u6570\u636e\u5e93<\/p>\n<ul>\n<li>\u5728 64 \u4f4d Windows \u5e73\u53f0\u4e0a\u7f16\u8bd1\u5305\u542b TClientDataSet \u7684\u5e94\u7528\u65f6\u53ef\u80fd\u51fa\u73b0\u4e0b\u9762\u7684\u9519\u8bef\uff1a<\/li>\n<\/ul>\n<pre class=\"lang:delphi decode:true \">[DCC Error] E2597 C:\\Users\\Public\\Documents\\Embarcadero\\Studio\\16.0\\PlatformSDKs\\android-ndk-r9c\\toolchains\\arm-linux-androideabi-4.6\\prebuilt\\windows\\bin\\arm-linux-androideabi-ld.exe: error: cannot find -lgnustl_static<\/pre>\n<p>\u89e3\u51b3\u529e\u6cd5\u662f\u5728 SDK Manager \u4e2d\u4fee\u6539\u00a0Android NDK library path \u4e3a\uff1a<\/p>\n<pre class=\"lang:tex decode:true\">C:\\Users\\&lt;user&gt;\\Documents\\Embarcadero\\Studio\\16.0\\CatalogRepository\\AndroidSDK-24.0.2\\ndk\\sources\\cxx-stl\\gnu-libstdc++\\4.8\\libs\\armeabi-v7a<\/pre>\n<ul>\n<li>\u00a0\u5728 C++ Builder 64\u4f4d\u7a0b\u5e8f\u4e2d\u4f7f\u7528 FireDAC DataSnap \u9a71\u52a8\u9700\u8981\u5e26\u8fd0\u884c\u65f6\u5305DataSnapClient\uff1b<\/li>\n<li>\u5728\u00a0Data Explorer \u6216 FDExplorer \u4e2d\u6dfb\u52a0\u4e00\u4e2a\u65b0\u7684\u8fde\u63a5\u65f6\uff0c\u9047\u5230\u00a0&#8220;Can&#8217;t modify file&#8221; \u9519\u8bef\uff0c\u4e0b\u8f7d\u00a0<a href=\"http:\/\/cc.embarcadero.com\/item\/29812\" target=\"_blank\">FDFixIni\u00a0<\/a>\u00a0\u8fd0\u884c\u5e76\u4fee\u590d\u5b83\uff1b<\/li>\n<li>Interbase \u7684\u95ee\u9898\uff08\u7565\u8fc7\u5427\uff0c\u4f30\u8ba1\u7528\u7684\u4eba\u5f88\u5c11\uff09<\/li>\n<\/ul>\n<p>6\u3001Box2D<\/p>\n<ul>\n<li>Delphi \u4e2d\u9ed8\u8ba4\u6ca1\u6709\u63d0\u4f9b\u76f8\u5e94\u7684 DCU \u6587\u4ef6\uff0c\u6240\u4ee5\u5728\u00a0Project -&gt; Options -&gt; Delphi Compiler \u4e2d\u6dfb\u52a0\u641c\u7d22\u8def\u5f84 ${BDS)\\source\\FlatBox2D<\/li>\n<\/ul>\n<p>7\u3001GetIt<\/p>\n<ul>\n<li>\u4e0d\u652f\u6301 UNC \u8def\u5f84\uff0c\u8981\u4f7f\u7528 UNC \u8def\u5f84\u7684\u8bdd\uff0c\u6620\u5c04\u6210\u4e00\u4e2a\u7f51\u7edc\u9a71\u52a8\u5668\uff1b<\/li>\n<\/ul>\n<p>8\u3001IME<\/p>\n<ul>\n<li>Windows 8 \u5c06 IME \u7684\u652f\u6301\u6a21\u5f0f\u4ece\u6bcf\u4e2a\u7ebf\u7a0b\u6539\u4e3a\u4e86\u6bcf\u4e2a\u7528\u6237\uff0c\u6240\u4ee5\uff0c\u5982\u679c\u9700\u8981\u4f60\u9700\u8981\u81ea\u5df1\u8c03\u7528 API \u53bb\u66f4\u6539\u8f93\u5165\u6cd5\u72b6\u6001\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>1\u3001FireMonkey \u5728\u521b\u5efa\u5b50\u89c6\u56fe\u65f6 [&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":[373,384],"class_list":["post-2280","post","type-post","status-publish","format-standard","hentry","category-c-builder","category-delphi","category-misc","tag-xe8","tag-384"],"views":9075,"_links":{"self":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/2280","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=2280"}],"version-history":[{"count":1,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/2280\/revisions"}],"predecessor-version":[{"id":2281,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/2280\/revisions\/2281"}],"wp:attachment":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}