Creating the C++ application
To create the C++ application, follow these
steps:
Load the PowerBuilder VM
Call PB_GetVM to get a pointer to the IPB_VM interface
Create an IPB_Session object within IPB_VM
Create an instance of the PowerBuilder object
Initialize the PBCallInfo structure
Call the PowerBuilder function
Write cleanup code