{"id":4948,"date":"2018-08-31T12:19:34","date_gmt":"2018-08-31T04:19:34","guid":{"rendered":"http:\/\/blog.qdac.cc\/?p=4948"},"modified":"2018-08-31T12:19:34","modified_gmt":"2018-08-31T04:19:34","slug":"%e6%95%99%e7%a8%8b-resource-xxx-not-found-%e7%9a%84%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95","status":"publish","type":"post","link":"https:\/\/blog.qdac.cc\/?p=4948","title":{"rendered":"[\u6559\u7a0b] Resource XXX not found \u7684\u89e3\u51b3\u529e\u6cd5"},"content":{"rendered":"<p>\u4e00\u67e5\u8def\u5f84\uff1a\u67e5\u770b\u7a0b\u5e8f\u7684\u641c\u7d22\u548c\u5e93\u6587\u4ef6\u8def\u5f84\u4e2d\u662f\u5426\u6709\u91cd\u540d\u7684\u6587\u4ef6\uff0c\u5982\u679c\u8d44\u6e90\u5728\u8fd9\u4e9b\u91cd\u540d\u7684\u6587\u4ef6\u4e2d\uff0c\u94fe\u63a5\u65f6\u5982\u679c\u9519\u8bef\u94fe\u63a5\u5230\u4e86\u8001\u7248\u672c\uff0c\u5c31\u6709\u53ef\u80fd\u9020\u6210\u6b64\u95ee\u9898\u3002<\/p>\n<p>\u4e8c\u770b\u5b9a\u4e49\uff1a\u5728 Delphi \u4e2d\uff0c\u5982\u679c DFM \u5b9a\u4e49\u548c Pas \u5bf9\u5e94\u7684\u6587\u4ef6\u4e0d\u5b8c\u5168\u5339\u914d\uff08\u6bd4\u5982\u754c\u9762\u4e0a\u6709\u7684\u63a7\u4ef6\uff0c\u4f46 pas \u4e2d\u7531\u4e8e\u67d0\u4e9b\u539f\u56e0\u88ab\u5220\u9664\u4e86\uff09\uff0c\u7f16\u8bd1\u65f6\u5e76\u4e0d\u4f1a\u63d0\u793a\u4ec0\u4e48\u95ee\u9898\uff0c\u4f46\u5b9e\u9645\u94fe\u63a5\u5230\u7a0b\u5e8f\u91cc\u65f6\uff0c\u6709\u65f6\u5019\u5c31\u4f1a\u51fa\u73b0 DFM \u6ca1\u6709\u88ab\u6b63\u786e\u94fe\u63a5\uff0c\u9020\u6210\u627e\u4e0d\u5230\u5bf9\u5e94\u7684 DFM \u8d44\u6e90\u7684\u95ee\u9898\u3002\u89e3\u51b3\u529e\u6cd5\u662f\u5c06\u5bf9\u5e94\u7684\u7a97\u4f53\u6253\u5f00\uff0c\u6539\u70b9\u4e1c\u897f\uff0c\u7136\u540e\u4fdd\u5b58\u4e0b\uff0c\u7136\u540e IDE \u5c31\u4f1a\u63d0\u793a\u4f60\u90a3\u6709\u95ee\u9898\uff0c\u5bf9\u5e94\u7684\u6539\u8fc7\u6765\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<p>\u4e09\u770b\u4ee3\u7801\uff1a\u5982\u679c\u4e0d\u5c0f\u5fc3\u5220\u9664 {$R *.dfm} {$R *.res} \u4e00\u7c7b\u7684\u8d44\u6e90\u94fe\u63a5\u7f16\u8bd1\u6307\u4ee4\uff08C++ Builder \u662f #pragma\u00a0resource \u6307\u4ee4\uff09\uff0c\u4e5f\u4f1a\u9020\u6210\u5bf9\u5e94\u7684\u8d44\u6e90\u65e0\u6cd5\u6b63\u786e\u94fe\u63a5\u5230\u6700\u7ec8\u7a0b\u5e8f\u91cc\uff0c\u68c0\u67e5\u4e00\u4e0b\u5bf9\u5e94\u7684\u4f4d\u7f6e\u662f\u5426\u88ab\u5e72\u6389\u4e86\uff0c\u5982\u679c\u88ab\u5e72\u6389\u4e86\uff0c\u52a0\u4e0a\u7f16\u8bd1\u4e0b\u8bd5\u8bd5\u3002<\/p>\n<p>\u5173\u4e8e\u8fd9\u4e2a\u95ee\u9898\uff0c\u6211\u7b80\u5355\u603b\u7ed3\u4e86\u5c31\u8fd9\u4e9b\uff0c\u5982\u679c\u8fd8\u6709\u5176\u5b83\u7684\uff0c\u6b22\u8fce\u5927\u5bb6\u8865\u5145\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u67e5\u8def\u5f84\uff1a\u67e5\u770b\u7a0b\u5e8f\u7684\u641c\u7d22\u548c\u5e93\u6587\u4ef6\u8def\u5f84\u4e2d\u662f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","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,603],"tags":[],"class_list":["post-4948","post","type-post","status-publish","format-standard","hentry","category-c-builder","category-delphi","category-603"],"views":12364,"_links":{"self":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/4948","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=4948"}],"version-history":[{"count":1,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/4948\/revisions"}],"predecessor-version":[{"id":4949,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/4948\/revisions\/4949"}],"wp:attachment":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4948"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4948"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4948"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}