PBORCA_BuildProject
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
|
1 2 3 4 5 |
INT PBORCA_BuildProject ( HPBORCA hORCASession, LPTSTR lpszLibraryName, LPTSTR lpszProjectName, PBORCA_BLDPROC pBuildErrProc, LPVOID pUserData ); |
|
Argument |
Description |
|---|---|
|
hORCASession |
Handle to previously established ORCA |
|
lpszLibraryName |
File name of the library containing project |
|
lpszProjectName |
Project object containing deployment |
|
pBuildErrProc |
Pointer to the PBORCA_BuildProject error callback If you don’t want to use a callback |
|
pUserData |
Pointer to user data to be passed to the callback |
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 |
|
-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:
|
1 2 3 4 |
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:
|
1 |
typedef PBCALLBACK (void, *PPBORCA_BLDPROC) (PBORCA_BLDERR, LPVOID); |
See also