//-------------------------------------------------------------------
// ECLSession::GetPS
//
// Get PS object from session object and use it.
//-------------------------------------------------------------------
void Sample69() {
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