On the Delphi TCommandParser class for parsing command-lines and arguments (via: Suggestions for how to define command line parameters – Stack Overflow)
The Wiert Corner – A while ago, I posted the below StackOverflow answer. Recently a friend asked me about command-line parsing in Delphi, so here is the re-run: Delphi contains a really nice unit called CommandParser with a TCommandParser class that does commandline parsing for you. Since it has virtually no documentation, here are a few things to get started. I have a HiddenExecutable example at our open source bo repository. Basically you: setup a TComponent that contains the properties you want to expose as commandline parameters (that is THiddenExecuteSettings in the HiddenExecuteSettingsUnit a commandline ...
Visits by Source
Users who voted for this posting