Exemple

//------------------------------------------------------------------- // ECLSession::ECLSession (Constructor) // // Build PS object from name. //------------------------------------------------------------------- void Sample73() { 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