Creating a PowerBuilder object to be called from C++
In PowerBuilder, create a new workspace.
Select the Application icon from the Target page of the New dialog box and name the application loadpbvm.
Select the Custom Class icon from the PB Object page of the New dialog box.
In the Function prototype window, create a function with this signature:
f_mult ( integer arg1, integer arg2 ) returns integer
Save the user object as nvo_mult and close the User Object painter.