Creating the C++ application

To create the C++ application, follow these steps:

  1. Load the PowerBuilder VM

  2. Call PB_GetVM to get a pointer to the IPB_VM interface

  3. Create an IPB_Session object within IPB_VM

  4. Create an instance of the PowerBuilder object

  5. Initialize the PBCallInfo structure

  6. Call the PowerBuilder function

  7. Write cleanup code