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 the server profile. To override properties in the server profile and the project object, use PBORCA_BuildProjectWithOverrides.
Syntax
INT PBORCA_BuildProjectEx ( HPBORCA hORCASession, LPTSTR lpszLibraryName, LPTSTR lpszProjectName, PBORCA_BLDPROC pBuildErrProc, LPTSTR lpszServerName, INT iPort, 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. |
lpszServerName |
Server name for EAServer deployment. This value overrides the server property in the project object. |
iPort |
Port number for EAServer deployment. This value overrides the server property in the project object. |
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. |
See also