AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Form in DLL erstellen

Ein Thema von Neutral General · begonnen am 4. Mär 2007 · letzter Beitrag vom 4. Mär 2007
Antwort Antwort
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
Benutzerbild von Neutral General
Neutral General

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

Re: Form in DLL erstellen

  Alt 4. Mär 2007, 13:17
Habs geschafft...

Man muss ne neue Form erstellen, Designen und dann die Unit in der DLL einbinden und dann kann man ganz locker drauf zugreifen.

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
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:31 Uhr.
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