OK, i think i confused everybody with those "reports"
with "reports" i don't mean something like FastReport or LazReport.
More like, each dll will have its own individual TForm-GUI, providing "report"-specific Data and asking for Input to THEN generate, say an Excel-File, or a PDF, or a print-out.
Might even be not a "report" in the classic sense, but, say, just a Form to pull some data from a database and display it there.
@440bx
interesting.
But i was under the impression that two EXE's from FPC cannot "communicate" with each other, since an EXE can't export functions like a dll?!?!
Anyway, interesting approach.
No, the "DLL" doesn't have to report back to the Exe.
maybe i should have called "main" more like "launcher".
Imagine a single app, which has a listbox with, say 10 games you have on your Computer.
in the ListBox you select a game, say Diablo2, either doubleclick or hit "Run"-Button, and "Diablo2" starts.
More like that
So, if i understood you correctly, i could actually use:
one "main" EXE ("Launcher")
two (or more) other EXE's, which get "launched" with a TProcess-call? commandline-parameters being optional, if i would have to pass anything to the "second" exe?
EDIT: to maybe paint a clearer picture:
We have a File-Server (Surprise

)
on that File-Server there is Folder-Tree (think Purchase Department, Sales, Warehouse, Assembly etc.), each Folder with its own subfolder.
Now over the years, i had to create a plethora of "reports". Mainly Excel-Files which contain VBA-Code. And pretty much any two "reports" are not even slightly "comparable"
Everytime there is a Change-Request, i always have to search for that specific "report", because the Users can actually pull that report in whatever folder they want.
Yes, i do have my own "copy" of that report, but keeping track of Versions is PITA, and No, don't start with svn, git or whatever else.
It's a trading company, and i'm locked down on what i can use.
And my main idea was to "centralize" this VBA-Code (ported to FPC) in a fixed location.
The user starts the Launcher, chooses the report he/she wants, the report creates the Excel-Data, and saves it somewhere else wherever the user wants it