Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

PBORCA_LibraryEntryExportEx – PB Docs 2022 – PowerBuilder Library

PBORCA_LibraryEntryExportEx – PB Docs 2022

PBORCA_LibraryEntryExportEx

Description

Exports the source code for a PowerBuilder library entry to a text
buffer.

Syntax

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 value is the name of the
object being exported.

otEntryType

A value of the PBORCA_TYPE enumerated data type
specifying the object type of the entry being exported. Values
are:

PBORCA_APPLICATION

PBORCA_BINARY

PBORCA_DATAWINDOW

PBORCA_FUNCTION

PBORCA_MENU

PBORCA_PIPELINE

PBORCA_PROJECT

PBORCA_PROXYOBJECT

PBORCA_QUERY

PBORCA_STRUCTURE

PBORCA_USEROBJECT

PBORCA_WINDOW

lpszExportBuffer

Pointer to the data buffer in which ORCA stores the
code for the exported source when the PBORCA_CONFIG_SESSION
property bExportCreateFile is FALSE. This argument can be NULL if
bExportCreateFile is TRUE.

lExportBufferSize

Size in bytes of lpszExportBuffer. This argument is
not required if the PBORCA_CONFIG_SESSION property
bExportCreateFile is TRUE.

*plReturnSize

The size, in BYTES, of the exported source buffer or
file.

Return value

INT. Typical return codes are:

Return code

Description

0 PBORCA_OK

Operation successful

-1 PBORCA_INVALIDPARMS

Invalid parameter list

-3 PBORCA_OBJNOTFOUND

Object not found

-4 PBORCA_BADLIBRARY

Bad library name

-7 PBORCA_LIBIOERROR

Library I/O error

-10 PBORCA_BUFFERTOOSMALL

Buffer size is too small

-33 PBORCA_DBCSERROR

Locale setting error when converting Unicode to
ANSI_DBCS

Usage

This function behaves exactly like PBORCA_LibraryEntryExport, except
that with PBORCA_LibraryEntryExportEx, the size of the exported source is
returned to the caller in the additional *plReturnSize argument.

See also

PBORCA_ConfigureSession

PBORCA_CompileEntryImport

PBORCA_LibraryEntryExport


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x