Einzelnen Beitrag anzeigen

Bomberbb

Registriert seit: 23. Sep 2003
227 Beiträge
 
#12

Re: procedure nach Application.run

  Alt 17. Sep 2009, 15:16
Ja, versucht habe ich das
Delphi-Quellcode:
begin
  Application.Initialize;
  If ParamStr(1) = 'openthen begin
    Application.CreateForm(TNebenformular, Nebenformular);
  end else begin
    Application.CreateForm(THauptformular, Hauptformular);
  end;
  Application.Run;
end.
auch schon, aber sobald ich mit 'if' arbeite kommt die Meldung:
'Der Aufruf von Application.CreateForm fehlt oder ist nicht korrekt!'
Evtl. liegt das ja auch an meiner Delphiversion (D5).
  Mit Zitat antworten Zitat