Write cleanup code
When you have finished with the PBCallInfo structure, call FreeCallInfo to release
the memory allocated to it, then delete the structure, release the
session, and free the library:
|
1 |
   // Release Call Info<br>   session->FreeCallInfo(&ci);<br>   delete &ci;<br> <br>   // Release session<br>   session->Release();<br>   return 0;<br>   FreeLibrary(hinst);<br>} |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest