PBORCA_SessionClose
Description
Terminates an ORCA session.
Syntax
1 |
void PBORCA_SessionClose ( HPBORCA hORCASession ); |
Argument |
Description |
---|---|
hORCASession |
Handle to previously established ORCA |
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:
1 2 |
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
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest