More PBNI possibilities
The ability to create visual, nonvisual, and marshaler extensions,
and to call PowerBuilder objects from external C++ applications, opens up
numerous opportunities to combine these capabilities to develop more
complex applications.
Writing an extension that loads the
PBVM
Most of the examples in this book and on the PowerBuilder Code
Samples website at https://community.appeon.com/index.php/codeexchange/powerbuilder
show you how to create an extension in C++ and use it in PowerBuilder, or
how to write a C++ application that loads the PowerBuilder VM.
You could also write an extension that loads the PowerBuilder VM and
uses a custom class user object, using the techniques described in this
chapter. The following figure depicts the interaction between the PBVM and
an external application that uses an extension.
Figure: Interaction between PBNI, the PBVM, and external
applications
