|
The C++ generator creates a set of C++ classes representing PowerBuilder custom class user objects. You create the user objects in the User Object painter and then generate source or binary representations of the classes in the Project painter.
- To generate and use C++ classes:
- In the User Object painter, create custom class user objects containing the functions and variables you need.
- In the Project painter, select C++ in the New Project dialog box.
- Select the objects you want to generate.
- Specify output file names and whether you want to generate a source file or a static library.
- Generate the C++ classes.
- In your C++ development environment, write a C++ main() routine and modules that use the generated classes.
- Build your C++ application.
- Deploy the application with the PowerBuilder virtual machine dynamic library.
The rest of this section describes the procedure in more detail:
What you can generate from
What gets generated
Which additional classes are generated
Understanding C++ data type mappings
Generating classes in the Project painter
Using generated classes
|