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 Documentation 2017 – PowerBuilder Library

Powerbuilder Documentation 2017

Powerbuilder Documentation 2017

NewDecimal – PB Docs 2017

NewDecimal Description Allocates resources for a new decimal data object. Syntax

Return value pbdec or null on failure. Examples

See also GetDecimalString ReleaseDecimalString SetDecimal Document get from Powerbuilder help Thank you for watching.

Step 3: Declare native classes and global functions – PB Docs 2017

Step 3: Declare native classes and global functions For each native class that the nonvisual extension supports, declare an ANSI C++ class that inherits from IPBX_NonVisualObject, which is the ancestor class for all nonvisual PowerBuilder native classes.  The declaration of the class can be placed in a header file, and it must include Invoke and Destroy…

Add<type>Argument – PB Docs 2017

Add<type>Argument Description Adds an argument of a specific type in a variable argument PowerBuilder call. Syntax

Argument Description ci The PBCallInfo to which the argument is to be added. value The value to be added to the arguments array. IsNull Indicates whether the argument is null. The default is false. Return value PBXRESULT. PBX_OK…

GetNumOfFields – PB Docs 2017

GetNumOfFields Description Returns the number of fields in the specified class. Syntax

Argument Description cls A valid class handle for the class whose field is to be accessed Return value pbulong. Examples This code gets the numbers of fields in the class clz:

See also GetFieldID Get<type>Field IsFieldArray IsFieldNull IsFieldObject SetFieldToNull Set<type>Field Document…

Error return values – PB Docs 2017

Error return values The following table shows the PBXRESULT return values and error codes returned from PBNI methods. Value of PBXResult Error code PBX_OK 0 PBX_SUCCESS 0 PBX_FAIL -1 PBX_E_NO_REGISTER_FUNCTION -1 PBX_E_REGISTRATION_FAILED -2 PBX_E_BUILD_GROUP_FAILED -3 PBX_E_INVALID_ARGUMENT -4 PBX_E_INVOKE_METHOD_INACCESSABLE -5 PBX_E_INVOKE_WRONG_NUM_ARGS -6 PBX_E_INVOKE_REFARG_ERROR -7 PBX_E_INVOKE_METHOD_AMBIGUOUS -8 PBX_E_INVOKE_FAILURE -9 PBX_E_MISMATCHED_DATA_TYPE -10 PBX_E_OUTOF_MEMORY -11 PBX_E_GET_PBVM_FAILED -12 PBX_E_NO_SUCH_CLASS -13…

GetRowCount – PB Docs 2017

GetRowCount Description Obtains the number of rows. Syntax

Return value Unsigned long. Examples This statement stores the number of rows in *numRows:

See also CreateResultSet GetColumnCount GetColumnMetaData GetItemData Document get from Powerbuilder help Thank you for watching.

Step 6: Build a PBX – PB Docs 2017

Step 6: Build a PBX Using your C++ development tool or the command line, build a PBX from your C++ classes. When you compile and link the C++ code, verify the following: The include directory for the PBNI SDK, typically PowerBuilder 17.0SDKPBNIinclude, must be in your include path. If you use any helper classes, make sure…

FindClassByClassID – PB Docs 2017

FindClassByClassID Description Searches for a class with a given name and a given ID. Syntax

Argument Description group The handle of the group in which the class resides classID The class name in lowercase Return value pbclass or null on failure. Usage This method searches for a PowerBuilder class with the given name and…

Using an event name with return type and arguments – PB Docs 2017

Using an event name with return type and arguments The following description uses the first syntax. The class has two events, onclick and ondoubleclick:

Capturing messages and mouse clicks The code in the extension captures the Windows messages that cause the window to be drawn, as well as mouse clicks and double clicks:

Installing ORCA – PB Docs 2017

Installing ORCA ORCA is available to code partners, tool vendors, and customers who develop companion products and tools that manipulate and manage objects in PowerBuilder libraries for use with PowerBuilder. To run ORCA programs To run programs that use ORCA, you need the ORCA DLL (called PBORC170.DLL in PowerBuilder 2017 R3). When you install PowerBuilder,…