Thema: Delphi Form in DLL erstellen

Einzelnen Beitrag anzeigen

Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#1

Form in DLL erstellen

  Alt 4. Mär 2007, 13:06
Hi,

Ich hab schon im Forum geguckt aber nix richtiges gefunden.

Delphi-Quellcode:
var
  MyForm: TForm;

MyForm := TForm.Create(nil);
Ja das funktioniert nur dummerweise halt nur ne normale Form. Wie mach ich das wenn ich sowas hab:

Delphi-Quellcode:
TMyForm = class(TForm)
    Edit1: TEdit;
  private

  public
    constructor Create(AOwner: TComponent); override;
  end;
Weil das gibt bei
inherited Create(AOwner); spätestens ne AV.

Dann hab ich ne dfm gemacht und irgendwo

{$R PluginForm.dfm} Aber das hilft nichts...

Gruß
Neutral General
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat