//-------------------------------------------------------------------
// ECLSession::~ECLSession (Destructor)
//
// Build PS object from name and then delete it.
//-------------------------------------------------------------------
void Sample74() {
ECLSession *Sess; // Pointer to Session object for connection A
ECLPS *PS; // PS object pointer
try {
Sess = new ECLSession('A');
PS = Sess->GetPS();
printf("Size of presentation space is %lu.\n", PS->GetSize());
delete Sess;
}
catch (ECLErr Err) {
printf("ECL Error: %s\n", Err.GetMsgText());
}
} // end sample