Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi Dll soll Control wärend Laufzeit auf Form erstellen (https://www.delphipraxis.net/103025-dll-soll-control-waerend-laufzeit-auf-form-erstellen.html)

MEDV 10. Nov 2007 11:37

Re: Dll soll Control wärend Laufzeit auf Form erstellen
 
Wie würde das mit ShareMem gehen?

klar ist ja erstmal
Delphi-Quellcode:
uses
ShareMem, ...;
Würde meine Funktion dann mit einer TForm als Argument funktionieren, in der dann mit
Delphi-Quellcode:
Button := TButton.Create(Form);
ein Button erzeugt wird?

Nuclear-Ping 10. Nov 2007 12:32

Re: Dll soll Control wärend Laufzeit auf Form erstellen
 
Wenn dein Pluginsystem ausschließlich mit (deinen?) Delphi Programmen laufen soll, dann versuchs mal mit einer BPL statt DLL.

http://delphi.about.com/b/2007/03/23...rogramming.htm
http://delphi.about.com/od/objectpas...bpl_vs_dll.htm

sirius 10. Nov 2007 13:09

Re: Dll soll Control wärend Laufzeit auf Form erstellen
 
Zitat:

Zitat von MEDV
Wie würde das mit ShareMem gehen?

klar ist ja erstmal
Delphi-Quellcode:
uses
ShareMem, ...;
Würde meine Funktion dann mit einer TForm als Argument funktionieren, in der dann mit
Delphi-Quellcode:
Button := TButton.Create(Form);
ein Button erzeugt wird?

Probiers! :zwinker:
Ich habe sowas noch nie gemacht.


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:27 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz