PBORCA_BLDERR structure – PB Docs 2017
PBORCA_BLDERR structure Description This function is obsolete because EAServer is no longer supported since PowerBuilder 2017. Reports information about an error that occurred when you tried to deploy objects to EAServer. The following functions pass the PBORCA_BLDERR structure to their callback functions: PBORCA_BuildProject PBORCA_BuildProjectEx Syntax
1 |
typedef struct pborca_blderr { LPTSTR lpszMessageText; } PBORCA_BLDERR, FAR *PPBORCA_BLDERR; |
Member Description lpszMessageText Pointer to a string whose value…
PBORCA_LibraryEntryDelete – PB Docs 2017
PBORCA_LibraryEntryDelete Description Deletes a PowerBuilder library entry. Syntax
1 2 3 4 |
INT PBORCA_LibraryEntryDelete (HPBORCA hORCASession, LPTSTR lpszLibName, LPTSTR lpszEntryName, PBORCA_TYPE otEntryType ); |
Argument Description hORCASession Handle to previously established ORCA session. lpszLibName Pointer to a string whose value is the file name of the library containing the object. lpszEntryName Pointer to a string whose value is the name of the object being deleted. otEntryType A value of the…
What are system objects? – PB Docs 2017
What are system objects? System objects PowerBuilder system class objects are the built-in objects you use to develop your application. PowerBuilder system objects include objects such as windows and menus, as well as graphical controls and predefined entities that you can reference in your application, such as the Message and Error objects. Controls PowerBuilder controls…
PBORCA_LibraryEntryCopy – PB Docs 2017
PBORCA_LibraryEntryCopy Description Copies a PowerBuilder library entry from one library to another. Syntax
1 2 3 4 5 |
INT PBORCA_LibraryEntryCopy ( HPBORCA hORCASession, LPTSTR lpszSourceLibName, LPTSTR lpszDestLibName, LPTSTR lpszEntryName, PBORCA_TYPE otEntryType ); |
Argument Description hORCASession Handle to previously established ORCA session. lpszSourceLibName Pointer to a string whose value is the file name of the source library containing the object. lpszDestLibName Pointer to a string whose value is the file name of the destination…
PBORCA_SessionClose – PB Docs 2017
PBORCA_SessionClose Description Terminates an ORCA session. Syntax
1 |
void PBORCA_SessionClose ( HPBORCA hORCASession ); |
Argument Description hORCASession Handle to previously established ORCA session Return value None. Usage PBORCA_SessionClose frees any currently allocated resources related to the ORCA session. If you do not close the session, memory allocated by PowerBuilder DLLs is not freed, resulting in a memory leak. Failing to close…
How a callback works – PB Docs 2017
How a callback works ORCA calls a callback function like this: The calling program allocates a buffer to hold data (the UserData buffer). The calling program calls an ORCA function, passing it pointers to the callback function and the UserData buffer. When the ORCA function needs to report information, it calls the callback function. It…
PBORCA_SccGetConnectProperties – PB Docs 2017
PBORCA_SccGetConnectProperties Description Returns the SCC connection properties associated with a PowerBuilder workspace. Syntax
1 2 3 |
INT PBORCA_SccGetConnectProperties ( HPBORCA hORCASession, LPTSTR pWorkspaceFile, PBORCA_SCC *pConfig ); |
Argument Description hORCASession Handle to previously established ORCA session pWorkspaceFile Fully qualified or relative file name of the PowerBuilder workspace file (PBW) *pConfig Pointer to a preallocated structure typically initialized to zeros Return value INT. Typical return codes are: Return code…
PBORCA_SccResetRevisionNumber – PB Docs 2017
PBORCA_SccResetRevisionNumber Description Call this function to reset the revision number for an object. This function is useful only in applications using SCC providers that implement the SccQueryInfoEx extension to the SCC API. Syntax
1 2 3 4 5 |
INT PBORCA_SccResetRevisionNumber ( HPBORCA hORCASession, LPTSTR lpszLibraryName, LPTSTR lpszEntryName, PBORCA_TYPE otEntryType, LPTSTR lpszRevisionNum ); |
Argument Description hORCASession Handle to previously established ORCA session. lpszLibraryName Absolute or relative path specification for the PBL file containing the…
Callback function for compiling objects – PB Docs 2017
Callback function for compiling objects Description Called for each error that occurs when objects in a library are compiled so that the errors can be stored for later display. Functions that use this callback format are: PBORCA_ApplicationRebuild PBORCA_CompileEntryImport PBORCA_CompileEntryImportList PBORCA_CompileEntryRegenerate Syntax
1 |
typedef void (CALLBACK *PBORCA_ERRPROC) ( PPBORCA_COMPERR, LPVOID ); |
Argument Description PPBORCA_COMPERR Pointer to the structure PBORCA_COMPERR (described next) LPVOID Long pointer…
PBORCA_SccClose – PB Docs 2017
PBORCA_SccClose Description Closes the active SCC project. Syntax
1 |
INT PBORCA_SccClose ( HPBORCA hORCASession ); |
Argument Description hORCASession Handle to previously established ORCA session Return value INT. Usage This method calls SCCUninitialize to disconnect from the source control provider. Call PBORCA_SccClose before calling PBORCA_SessionClose. See also PBORCA_SccConnect Document get from Powerbuilder help Thank you for watching.