Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

PowerBuilder Native Interface Programmers Guide and Reference – PowerBuilder Library

PowerBuilder Native Interface Programmers Guide and Reference

Getting the signature of a function – PB Docs 2022

Getting the signature of a function To write the C++ code that invokes the f_mult function, you need to obtain its method ID. The method ID is used to initialize the PBCallInfo structure and to invoke the function. There are two IPB_Session functions that return a method ID: GetMethodID, which takes a signature, and FindMatchingFunction,…

Where the wizards are installed – PB Docs 2022

Where the wizards are installed Contents Generating a PBNI project Setting project options Building and using the PBX When you install PowerBuilder, the setup program installs four directories into the %AppeonInstallPath%PowerBuilder [version]SDKPBNIwizards directory: VCProjects 7.0 VCProjects 7.1 VCProjects 8.0 VCProjects 16.0 VCWizards If Microsoft Visual Studio is already installed on your computer, the setup program…

About PBNI – PB Docs 2022

About PBNI Contents Understanding PowerBuilder extensions Embedding the PBVM in a C++ application PBNI is a standard programming interface that enables developers to extend the functionality of PowerBuilder. Using PBNI, you can create extensions to PowerBuilder — nonvisual, visual, and marshaler extensions — and embed the PowerBuilder virtual machine (PBVM) into C++ applications. Through the…

The elements of PBNI – PB Docs 2022

The elements of PBNI To enable the features described in the previous section, PBNI provides interfaces, structures, global functions, and helper classes. These elements are described in more detail in the reference section of this guide. See PBNI Interfaces, Structures, and Methods This section provides an overview. Interfaces The IPB_VM interface is used to load…

Using the extension in PowerBuilder – PB Docs 2022

Using the extension in PowerBuilder To use the PowerBuilder native class in a PowerBuilder application, import the object descriptions in the PBX file into a library in your application. To import the extension into an application: Copy the PBX (or DLL) file to a directory on your application’s path. In PowerBuilder, create a new workspace….

About calling PowerScript from C++ applications – PB Docs 2022

About calling PowerScript from C++ applications If you have a PowerBuilder custom class user object that performs intensive programming that would be useful to an application that you need to write in C++, you can access the object directly from the C++ application using PBNI. You do not need to make the user object into…

Calling PowerScript from an extension – PB Docs 2022

Calling PowerScript from an extension Contents Example: Calling PowerBuilder functions You can call PowerBuilder system functions through IPB_Session. The InitCallInfo method simplifies the process of setting up the call information. You need to provide the arguments to the InitCallInfo method, including an identifier for the PowerBuilder function you want to call. The identifier can be…

More PBNI possibilities – PB Docs 2022

More PBNI possibilities The ability to create visual, nonvisual, and marshaler extensions, and to call PowerBuilder objects from external C++ applications, opens up numerous opportunities to combine these capabilities to develop more complex applications. Writing an extension that loads the PBVM Most of the examples in this book and on the PowerBuilder Code Samples website…

Adding an extension to a PowerBuilder target – PB Docs 2022

Adding an extension to a PowerBuilder target The simplest way to add a PowerBuilder native class to a PowerBuilder target is to import the object descriptions in the PBX file into a library in the PowerBuilder System Tree. You can also use a command-line tool to create a PBD file from a PBX file and…

IPB_Arguments interface – PB Docs 2017

IPB_Arguments interface The IPB_Arguments interface has two methods: GetCount obtains the number of arguments in a method call. GetAt obtains the value at a specific index of the pArgs member of the PBCallInfo structure. For each argument, GetAt returns a pointer to the IPB_Value interface. The following code fragment uses GetCount and GetAt in a FOR loop to process different argument…