//-------------------------------------------------------------------
// ECLConnList::ECLConnList (Constructor)
//
// Dynamically construct a connection list object, display number
// of connections in the list, then delete the list.
//-------------------------------------------------------------------
void Sample19() {
ECLConnList *pConnList; // Pointer to connection list object
try {
pConnList = new ECLConnList();
printf("There are %lu connections in the connection list.\n",
pConnList->GetCount());
delete pConnList; // Call destructor
}
catch (ECLErr Err) {
printf("ECL Error: %s\n", Err.GetMsgText());
}
} // end sample