Creating a PowerBuilder object to be called from C++

PowerBuilder Native Interface

Creating a PowerBuilder object to be called from C++

  1. In PowerBuilder, create a new workspace.

  2. Select the Application icon from the Target page of the New dialog box and name the application loadpbvm.

  3. Select the Custom Class icon from the PB Object page of the New dialog box.

  4. In the Function prototype window, create a function with this signature:

    f_mult ( integer arg1, integer arg2 )  returns integer
  5. Save the user object as nvo_mult and close the User Object painter.