Creating a PowerBuilder object to be called from C++
To keep the code for this example simple, create an application
with one custom class user object that has one function. The function
returns the product of two integers:
-
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:1f_mult ( integer arg1, integer arg2 ) returns integer -
Save the user object as nvo_mult and
close the User Object painter.
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest