This example uses the OpenConnection method to open several ODBCDirect Connection objects.
See How to Build the DAO Method Samples.
If you have installed the DAO SDK, see InstallDirectory\DAOSDK\SAMPLES\OpenConnection.cpp.