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.
Syntax
INT PBORCA_BuildProject ( HPBORCA hORCASession, LPTSTR lpszLibraryName, LPTSTR lpszProjectName, PBORCA_BLDPROC pBuildErrProc, LPVOID pUserData );
Argument |
Description |
---|---|
hORCASession |
Handle to previously established ORCA session. |
lpszLibraryName |
File name of the library containing project entry. |
lpszProjectName |
Project object containing deployment information. |
pBuildErrProc |
Pointer to the PBORCA_BuildProject error callback function. If you don't want to use a callback function, set pBuildErrProc to NULL. |
pUserData |
Pointer to user data to be passed to the callback function. |
Return value
INT. Typical return codes are:
Return code |
Description |
---|---|
0 PBORCA_OK |
Operation successful |
-1 PBORCA_INVALIDPARMS |
Invalid parameter list |
-19 PBORCA_CBCREATEERROR |
Component Builder class not created |
-20 PBORCA_CBINITERROR |
Initialization of EAServer connection failed |
-21 PBORCA_CBBUILDERROR |
Deployment failed with errors |
Usage
How error information is returned
PBORCA_BuildProject error callback function stores information about an entry in the following structure. You pass a pointer to the structure in the pBuildErrProc argument:
typedef struct PBORCA_blderr { LPTSTR lpszMessageText; // Pointer to message text } PBORCA_BLDERR, FAR *PPBORCA_BLDERR;
Prototype for callback function
The callback function has the following signature:
typedef PBCALLBACK (void, *PPBORCA_BLDPROC) (PBORCA_BLDERR, LPVOID);
See also