ADO Database Delphi

Question:
Is there a programmatic way to add an alias to the IDAPI.CFG
file?
Answer:
The BDE includes a function called DbiAddAlias(). See the
BDE API help file for more information on this.