[DB-SIG] Generating a list of DSN's?

M.-A. Lemburg mal@lemburg.com
Sat, 14 Dec 2002 12:01:54 +0100


guy robinson wrote:
> Hello,
> 
> Do I need to use calldll to extract a list of already defined DSN's on
> windows? If so how? I've looked at microsofts API for ODBC and I can't see
> how you list the names.

Check out mx.ODBC.Windows.DataSources() (part of mxODBC).

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
_______________________________________________________________________
eGenix.com -- Makers of the Python mx Extensions: mxDateTime,mxODBC,...
Python Consulting:                               http://www.egenix.com/
Python Software:                    http://www.egenix.com/files/python/