Thema: Delphi Pointer geht verloren

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
 
#5

Re: Pointer geht verloren

  Alt 3. Mär 2007, 18:41
Im Plugin:

Delphi-Quellcode:
var
  Edit: IEditor;

{ TPlugin }

function TPlugin.Execute(App: IApp): Integer;
begin
  Result := 1;
  if Edit = nil then
    Edit := App.GetEditor;
  Edit.Clear;
end;
So hab ichs jetzt gemacht. Hast du das so gemeint?
Jedenfalls klappts trotzdem nicht...
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