PBORCA_LibraryDirectory – PB Docs 2021
PBORCA_LibraryDirectory Description Reports information about the directory of a PowerBuilder library, including the list of objects in the directory. Syntax
|
1 2 3 4 5 6 |
INT PBORCA_LibraryDirectory ( HPBORCA hORCASession, LPTSTR lpszLibName, LPTSTR lpszLibComments, INT iCmntsBuffLen, PBORCA_LISTPROC pListProc, LPVOID pUserData ); |
Argument Description hORCASession Handle to previously established ORCA session. lpszLibName Pointer to a string whose value is the file name of the library for which you want directory information. lpszLibComments Pointer to a buffer…
Viewing the JDBC Driver Manager Trace log – PB Docs 2021
Viewing the JDBC Driver Manager Trace log You can display the contents of the JDBC Driver Manager Trace log file anytime during a PowerBuilder session. Location of JDBC.LOG For information about where to find the default JDBC.LOG file, see About JDBC Driver Manager Trace. To view the contents of the log file: Open JDBC.LOG or…
Prerequisites – PB Docs 2021
Prerequisites Step 1: Install PowerBuilder 2021. Step 2: Download the RibbonBar demo application from here. Step 3: Set up the sample database. Get the database file “AppeonSample.db” from the downloaded demo application. Set up the ODBC database connection. Open Control Panel > System and Security > Administrative Tools > ODBC Data Sources. Create a new…
Using Embedded SQL with OLE DB – PB Docs 2021
Using Embedded SQL with OLE DB Contents OLE DB SQL support OLE DB Name qualification OLE DB SQL functions OLE DB Using ODBC escape Sequences OLE DB Transaction management statements OLE DB Using CONNECT, DISCONNECT, COMMIT, and ROLLBACK OLE DB Performance and locking OLE DB Non-cursor statements OLE DB DELETE, INSERT, and UPDATE OLE DB…
Attach the DataWindow object to the master DataWindow control – PB Docs 2021
Attach the DataWindow object to the master DataWindow control Where you are > Attach the DataWindow object to the master DataWindow control Attach the DataWindow object to the detail DataWindow control Run the application Attach DataWindow objects to the Product window Run the application again Now you attach the DataWindow object to a DataWindow control…
Using Embedded SQL with Microsoft SQL Server – PB Docs 2021
Using Embedded SQL with Microsoft SQL Server Contents Microsoft SQL Server Name qualification Microsoft SQL Server Functions Microsoft SQL Server Transaction management statements Microsoft SQL Server Using CONNECT, COMMIT, DISCONNECT, and ROLLBACK Microsoft SQL Server Using AutoCommit Microsoft SQL Server Performance and locking Microsoft SQL Server Non-cursor statements Microsoft SQL Server DELETE, INSERT, and UPDATE…
About marshaler extensions – PB Docs 2021
About marshaler extensions Marshaler extensions can act as bridges between PowerBuilder and other components, such as EJB components, Java classes, and Web services, as long as those components can be called from C++. To create a marshaler extension, build a PBX that contains at least one class that implements the IPBX_Marshaler interface, as well as…
Getting information about storage members – PB Docs 2021
Getting information about storage members When a storage is open, you can use one of the Member functions to get information about the substorages and streams in that storage and change them. Function Result MemberExists Checks to see if the specified member exists in a storage. Members can be either storages or streams. Names of…
Preparing to use the Adaptive Server database – PB Docs 2021
Preparing to use the Adaptive Server database Before you define the interface and connect to an Adaptive Server database in PowerBuilder, follow these steps to prepare the database for use: Install and configure the required database server, network, and client software. Install the Adaptive Server database interface. Verify that you can connect to Adaptive Server…
Passing strings – PB Docs 2021
Passing strings PowerBuilder assumes all string arguments and returned values use Unicode encoding. If a function uses strings with ANSI encoding, you need to add an ALIAS FOR clause to the function declaration and add a semicolon followed by the ansi keyword. For example:
|
1 |
FUNCTION string NAME(string CODE) LIBRARY "LibName.DLL" ALIAS FOR "NAME;ansi" |
Passing by value The following statement declares the external C…