Step 1:
Decide on a feature to implement
The first step in building a PowerBuilder extension is to identify
a problem that an extension can solve. This might be a feature that can
be coded more efficiently and easily in C++ than in PowerScript, or that
requires the use of callback functions or nonstandard datatypes. You
might also have access to existing C++ classes that perform the tasks
you want to add to a PowerBuilder application, or you might want to
create a wrapper for existing standard utilities written in C++.
For possible uses of PowerBuilder extensions, see Understanding PowerBuilder
extensions.
For examples of PowerBuilder extensions, see the PowerBuilder Code
Samples website at
https://www.appeon.com/developers/library/code-samples-for-pb.