轉貼自: http://www.planet-source-code.com/vb/sc ... 4&lngWId=7
Mapping all of ODBC 3.0 API. You can easily call the ODBC manager and do most anything that's allowed with ODBC. Low level. You will have to build the higher level stuff yourself (such as ODBC datasets). Examples are provided on how to call the ODBC manager and on how to retrieve DSN names (uODBC.pas).