{"id":91,"date":"2013-12-13T08:09:41","date_gmt":"2013-12-13T08:09:41","guid":{"rendered":"http:\/\/tastaturkind.ch\/?p=91"},"modified":"2013-12-13T08:09:41","modified_gmt":"2013-12-13T08:09:41","slug":"dll-erstellen-in-delphi-7","status":"publish","type":"post","link":"https:\/\/oliver-frick.ch\/wordpress\/index.php\/2013\/12\/13\/dll-erstellen-in-delphi-7\/","title":{"rendered":"DLL erstellen in Delphi >= 7"},"content":{"rendered":"<p>Delphi 7<br \/>\n&#8212;&#8212;&#8211;<\/p>\n<p>DLL erstellen:<\/p>\n<p>Datei -> Neu -> DLL<\/p>\n<p>resp. in bestehendem Projekt &#8222;Project&#8220; -> &#8222;View Source&#8220; <\/p>\n<p>program durch library ersetzen,<br \/>\ndies weist den Compiler an, eine DLL zu erstellen.<\/p>\n<p>Quelltext:<\/p>\n<p><code>library DemoDeskBar;<\/p>\n<p>uses<br \/>\n  ComServ,<br \/>\n  DemoDeskBar_TLB in 'DemoDeskBar_TLB.pas',<br \/>\n  unitDemoDeskBand in 'unitDemoDeskBand.pas',<br \/>\n  formVisibleBand in 'formVisibleBand.pas' {frmVisibleBand};<\/p>\n<p>exports<br \/>\n  DllGetClassObject,<br \/>\n  DllCanUnloadNow,<br \/>\n  DllRegisterServer,<br \/>\n  DllUnregisterServer;<\/p>\n<p>{$R *.TLB}<\/p>\n<p>{$R *.RES}<\/p>\n<p>begin<br \/>\nend.<br \/>\n<\/code><\/p>\n<p>compilieren<\/p>\n<p>regsvr32 DemoDeskBar.dll<\/p>\n<p>testen<\/p>\n<p>regsvr32 \/u DemoDeskBar.dll<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Delphi 7 &#8212;&#8212;&#8211; DLL erstellen: Datei -> Neu -> DLL resp. in bestehendem Projekt &#8222;Project&#8220; -> &#8222;View Source&#8220; program durch library ersetzen, dies weist den Compiler an, eine DLL zu erstellen. Quelltext: library DemoDeskBar; uses ComServ, DemoDeskBar_TLB in &#8218;DemoDeskBar_TLB.pas&#8216;, unitDemoDeskBand &hellip; <a href=\"https:\/\/oliver-frick.ch\/wordpress\/index.php\/2013\/12\/13\/dll-erstellen-in-delphi-7\/\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-91","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/oliver-frick.ch\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/91","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oliver-frick.ch\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oliver-frick.ch\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oliver-frick.ch\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oliver-frick.ch\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=91"}],"version-history":[{"count":0,"href":"https:\/\/oliver-frick.ch\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/91\/revisions"}],"wp:attachment":[{"href":"https:\/\/oliver-frick.ch\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=91"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oliver-frick.ch\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=91"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oliver-frick.ch\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=91"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}