ORCA functions that use callbacks – PB Docs 2017
ORCA functions that use callbacks These functions (which all have the prefix PBORCA_) use a callback function: ORCA function call (prefix PBORCA_)    Purpose of callback BuildProjectEx BuildProject Called once for each deployment error CompileEntryImport CompileEntryImportList CompileEntryRegenerate   Called once for each compile error ExecutableCreate Called once for each link error LibraryDirectory Called once for each library…
PBORCA_SCCSETTARGET structure – PB Docs 2017
PBORCA_SCCSETTARGET structure Description Reports the fully qualified name of a library in the target library list. Syntax
1 2 3 |
typedef struct pborca_sccsettarget { Â Â Â LPTSTR lpszLibraryName; } PBORCA_SETTARGET, FAR *PPBORCA_SETTARGET; |
Member Description lpszLibraryName Pointer to the name of a library in the target library list Document get from Powerbuilder help Thank you for watching.
PBORCA_SessionGetError – PB Docs 2017
PBORCA_SessionGetError Description Gets the current error for an ORCA session. Syntax
1 |
void PBORCA_SessionGetError ( HPBORCA hORCASession, LPTSTR lpszErrorBuffer, INT iErrorBufferSize ); |
Argument Description hORCASession Handle to previously established ORCA session. lpszErrorBuffer Pointer to a buffer in which ORCA will put the current error string. iErrorBufferSize Size of the buffer pointed to by lpszErrorBuffer. The constant PBORCA_MSGBUFFER provides a suggested buffer size of 256. It…
PBORCA_LibraryCommentModify – PB Docs 2017
PBORCA_LibraryCommentModify Description Modifies the comment for a PowerBuilder library. Syntax
1 2 3 |
INT PBORCA_LibraryCommentModify ( HPBORCA hORCASession, Â Â Â LPTSTR lpszLibName, Â Â Â LPTSTR lpszLibComments ); |
Argument Description hORCASession Handle to previously established ORCA session lpszLibName Pointer to a string whose value is the name of the library whose comments you want to change lpszLibComments Pointer to a string whose value is the new library comments Return value INT. Typical…
Functions for managing the ORCA session – PB Docs 2017
Functions for managing the ORCA session Just as you begin a session in the PowerBuilder development environment by running PowerBuilder and end the session by exiting PowerBuilder, you need to open a session when using ORCA and close the session when finished. Library list and current application In the PowerBuilder development environment, you must first…
PBORCA_SetExeInfo – PB Docs 2017
PBORCA_SetExeInfo Description Sets the property fields with user-specified values prior to calling PBORCA_ExecutableCreate. Syntax
1 |
INT PBORCA_SetExeInfo ( HPBORCA hORCASession, PBORCA_EXEINFO *pExeInfo ); |
Argument Description hORCASession Handle to previously established ORCA session *pExeInfo Pointer to a structure containing executable properties Return value INT. Typical return codes are: Return code Description 0Â Â Â Â Â Â PBORCA_OK Operation successful -1Â Â Â Â Â Â PBORCA_INVALIDPARMS Invalid parameter list (when pExeInfo or hORCASession is…
PBORCA_BuildProjectEx – PB Docs 2017
PBORCA_BuildProjectEx Description This function is obsolete because EAServer is no longer supported since PowerBuilder 2017. Deploys an EAServer component according to the specifications of the project object, but overrides server and port properties in the project object with the argument values you specify. However, it does not override these properties if they are set in…
PBORCA_LibraryEntryExport – PB Docs 2017
PBORCA_LibraryEntryExport Description Exports the source code for a PowerBuilder library entry to a source buffer or file. Syntax
1 2 3 4 5 6 |
INT PBORCA_LibraryEntryExport ( HPBORCA hORCASession, Â Â Â LPTSTR lpszLibraryName, Â Â Â LPTSTR lpszEntryName, Â Â Â PBORCA_TYPE otEntryType, Â Â Â LPTSTR lpszExportBuffer, Â Â Â LONG lExportBufferSize ); |
Argument Description hORCASession Handle to previously established ORCA session. lpszLibraryName Pointer to a string whose value is the file name of the library containing the object you want to export. lpszEntryName Pointer to a string whose…
Writing ORCA programs – PB Docs 2017
Writing ORCA programs Contents Outline of an ORCA program Bootstrapping a new application This section outlines the skeleton of an ORCA program, beginning with opening a session. It also describes how to build an application from scratch without having to start with a library containing an Application object. Document get from Powerbuilder help Thank you…
Objects in a PowerBuilder library – PB Docs 2017
Objects in a PowerBuilder library When you open an object in a painter, PowerBuilder interprets the library entries and displays the object in a graphical format. The painter does not display the source code. If you change the object graphically and save it again in the PBL, PowerBuilder rewrites the source code to incorporate the…