Using the C++ Generator
\The Sandbox \PB History & Future \New In PB6 \Component Generation \Using the C++ Generator
What You Can
Generate From
What Gets
Generated
Which Classes
Are Generated
C++ Data 
Type Mappings
Generating
Classes
Using Generated
Classes

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:
  1. In the User Object painter, create custom class user objects containing the functions and variables you need.
  2. In the Project painter, select C++ in the New Project dialog box.
  3. Select the objects you want to generate.
  4. Specify output file names and whether you want to generate a source file or a static library.
  5. Generate the C++ classes.
  6. In your C++ development environment, write a C++ main() routine and modules that use the generated classes.
  7. Build your C++ application.
  8. 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

PBL Peeper PB Help PB History
& Future About Us Feedback Site Map

Google
 
Web www.techno-kitten.com
www.sybase.com