Thema: Delphi DLL-Form und Taskbar

Einzelnen Beitrag anzeigen

Benutzerbild von DGL-luke
DGL-luke

Registriert seit: 1. Apr 2005
Ort: Bad Tölz
4.149 Beiträge
 
Delphi 2006 Professional
 
#12

Re: DLL-Form und Taskbar

  Alt 1. Jul 2007, 14:10
Delphi-Quellcode:
function CheckApplication(Original: TApplication): Boolean;
begin
  Result := Original = Application;
end;
Pack diese Funktion in deine DLL, epxortier sie, und führe sie aus dem Hauptmodul aus.
Dann weißt du, ob du zwei mal das gleiche hast.
Lukas Erlacher
Suche Grafiktablett. Spenden/Gebrauchtangebote willkommen.
Gotteskrieger gesucht!
For it is the chief characteristic of the religion of science that it works. - Isaac Asimov, Foundation I, Buch 1
  Mit Zitat antworten Zitat