Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

How a callback works – PB Docs 2017 – PowerBuilder Library

How a callback works – PB Docs 2017

How a callback works

ORCA calls a callback function like this:

  1. The calling program allocates a buffer to hold data (the
    UserData buffer).

  2. The calling program calls an ORCA function, passing it
    pointers to the callback function and the UserData buffer.

  3. When the ORCA function needs to report information, it calls
    the callback function. It passes pointers to the structure holding
    the information and the UserData buffer.

  4. The callback function reads the information in the structure
    and formats it in the UserData buffer.

    Steps 3 and 4 repeat for each piece of information ORCA needs
    to report. An ORCA function might call the callback once, several
    times, or not at all, depending on whether errors occur or
    information needs to be reported.

  5. The ORCA function completes and returns control to the calling
    program, which reads the information in the UserData buffer.

    callback.gif

Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x