What is the order of execution during a startup?
.lpr runs first, I assume.
How does the program know to show the main window first and not all of them?
How does Application.Run know what to start first?
From help: "Run is the start of the user code: when called, it starts a loop and repeatedly calls DoRun until Terminated is set to True"
begin
Application.Initialize;
Application.CreateForm(TfRIMMain, fRIMMain);
Application.CreateForm(TfAbout, fAbout);
Application.CreateForm(TfDebug, fDebug);
Application.CreateForm(TfImport, fImport);
Application.CreateForm(TfIPRef, fIPRef);
Application.CreateForm(TfReg, fReg);
Application.CreateForm(TfOptions, fOptions);
Application.CreateForm(TfSNMPGet, fSNMPGet);
Application.Run;