Description
Terminates an ORCA session.
Syntax
void PBORCA_SessionClose ( HPBORCA hORCASession );
Return value
None.
Usage
PBORCA_SessionClose frees any currently allocated resources related to the ORCA session. If you do not close the session, memory allocated by PowerBuilder DLLs is not freed, resulting in a memory leak. Failing to close the session does not affect data (since an ORCA session has no connection to anything).
Examples
This example closes the ORCA session:
PBORCA_SessionClose(lpORCA_Info->hORCASession); lpORCA_Info->hORCASession = 0;
In these examples, session information is saved in the data structure ORCA_Info, shown in About the examples.
See also