Example

The following is an example of the StartConnection method.

ECLConnMgr	Manager;		// Connection manager object
 
// Start a host connection "E" and check for errors
 
try {
  Manager.StartConnection("profile=coax connname=e");
}
catch (ECLErr Error) {
  MessageBox(NULL, Error.GetMsgText(), "Session start error!", MB_OK);
}