Adding an extension to a PowerBuilder target – PB Docs 2017
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 add…
PBNI Tool Reference – PB Docs 2017
PBNI Tool Reference Contents pbsig170 pbx2pbd170 About this chapter This chapter describes two tools provided with the PBNI SDK: The pbsig170Â tool gets the internal signature of a PowerBuilder function from a PBL name. The pbx2pbd170 tool generates a PBD from a PBX. When you install PowerBuilder, these tools are installed in the SDKÂ subdirectory of your…
PowerBuilder Native Interface Programmers Guide and Reference – PB Docs 2017
PowerBuilder Native Interface Programmers Guide and Reference Appeon PowerBuilder® 2017 R3 FOR WINDOWS DOCUMENT ID: DC37794-01-1700-01 LAST REVISED: July 13, 2018 Copyright © 2018 by Appeon Limited. All rights reserved. This publication pertains to Appeon software and to any subsequent release until otherwise indicated in new editions or technical notes. Information in this document is subject to…
Programmers Guide – PB Docs 2017
Programmers Guide This part provides an introduction to the PowerBuilder Native Interface and a guide to creating PowerBuilder extensions and interacting with PowerBuilder. Contents Introduction to PBNI About PBNI The elements of PBNI The PBNI SDK Comparing PBNI and JNI Building PowerBuilder Extensions Nonvisual extension example Creating a PowerBuilder extension Adding an extension to a…
Reference – PB Docs 2017
Reference This part contains reference information for PBNI datatypes, interfaces, and tools. Contents PBNI Types and Return Values PowerBuilder to PBNI datatype mappings Types for access to PowerBuilder data PBNI enumerated types Error return values PBNI Interfaces, Structures, and Methods Header file contents Class and interface summary IPB_Arguments interface IPB_ResultSetAccessor interface IPB_RSItemData interface IPB_Session interface…
ReleaseDateString – PB Docs 2017
ReleaseDateString Description Frees the memory acquired using GetDateString. Syntax
|
1 |
ReleaseDateString(LPCTSTR string) |
Argument Description string The string to be released from memory Return value None. See also GetDateString Document get from Powerbuilder help Thank you for watching.
Using the IPB_Session interface – PB Docs 2017
Using the IPB_Session interface The IPB_Session interface is an abstract interface that enables the PBVM to interact with PowerBuilder extensions and with external applications. It defines hundreds of methods for accessing PowerScript variables, calling PowerScript methods, handling exceptions, and setting a marshaler to convert PowerBuilder data formats to the user’s communication protocol. The IPB_Session interface…
Calling PowerBuilder from C++ – PB Docs 2017
Calling PowerBuilder from C++ Contents About calling PowerScript from C++ applications Calling PowerBuilder objects from C++ Accessing result sets Processing PowerBuilder messages in C++ More PBNI possibilities About this chapter A third-party application or server written in C++ can load the PowerBuilder VM, use PowerBuilder nonvisual objects, and use PowerBuilder visual controls. This chapter uses…
SetArrayItemValue – PB Docs 2017
SetArrayItemValue Description Sets the value of an array item to the value of an IPB_Value. Syntax
|
1 |
SetArrayItemValue( pbarray array, pblong dim[ ], IPB_Value* src) |
Argument Description array A valid pbarray structure in which you want to set an array item to null. dim A pblong array to hold the indexes of each dimension of the array. The size of the array must…
Example: Calling PowerBuilder functions – PB Docs 2017
Example: Calling PowerBuilder functions In this code fragment, the class and method ID returned by calls to the IPB_Session GetClass and GetMethodID methods are used to initialize a PBCallInfo structure, called ci, using the IPB_Session InitCallInfo method. After a new pbstring variable is created, the value of that string is set to the value of the first argument…