{"id":253,"date":"2008-05-08T04:21:21","date_gmt":"2008-05-08T04:21:21","guid":{"rendered":"http:\/\/6teen.ru\/?p=126"},"modified":"2008-05-08T04:21:21","modified_gmt":"2008-05-08T04:21:21","slug":"1178","status":"publish","type":"post","link":"http:\/\/pblog.ru\/lab\/?p=253","title":{"rendered":"\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 BitMap \u0438\u0437 dll"},"content":{"rendered":"<p>\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 BitMap \u0438\u0437 dll<br \/>\n<!--more--><\/p>\n<pre class=\"alt2\" style=\"margin:0px; padding:6px; border:1px inset; width:580px; height:320px; overflow:auto\"><div>\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 BitMap \u0438\u0437 dll\n\n\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0443\u0441\u0442\u0443\u044e DLL \u0438 \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u043e\u0439 {$r myres.res} \u043f\u0440\u0438\u0432\u044f\u0436\u0435\u043c \u043a \u043d\u0435\u0439 \u0444\u0430\u0439\u043b myres.res \u0441 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u043e\u0439 BMP1 (\u0438\u043c\u044f \u0440\u0435\u0441\u0443\u0440\u0441\u0430). \u041a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c DLL.\n\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043a\u043b\u0430\u0434\u0435\u043c \u043d\u0430 \u0444\u043e\u0440\u043c\u0443 Image1 \u0438 Button1.\n\nprocedure TForm1.iButton1Click(Sender: TObject);\nvar AModule: THandle;\nbegin\nAModule := LoadLibrary('project2.dll'); \/\/\u043f\u0443\u0442\u044c \u043a dll\nImage1.Picture.BitMap.LoadFromResourceName(AModule, 'BMP1');\nFreeLibrary(AModule);\nend;\n<\/div><\/pre>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 BitMap \u0438\u0437 dll<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[425,444],"tags":[488,1907,230],"_links":{"self":[{"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=\/wp\/v2\/posts\/253"}],"collection":[{"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=253"}],"version-history":[{"count":0,"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=\/wp\/v2\/posts\/253\/revisions"}],"wp:attachment":[{"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=253"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}