creating ODBC aliases at runtime

To simplify configuration of my application on different machines I would
like
to be able to create ODBC DSNs at runtime, and then trigger the BDE to
detect them. Has anyone seen info on this?

Thanks,
Robert Ehtesham