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_LibraryCreate – PB Docs 2017 – PowerBuilder Library

PBORCA_LibraryCreate – PB Docs 2017

PBORCA_LibraryCreate

Description

Creates a new PowerBuilder library.

Syntax

Argument

Description

hORCASession

Handle to previously established ORCA
session

lpszLibraryName

Pointer to a string whose value is the file name of
the library to be created

lpszLibraryComments

Pointer to a string whose value is a comment
documenting the new library

Return value

INT. Typical return codes are:

Return code

Description

0       PBORCA_OK

Operation successful

-1      PBORCA_INVALIDPARMS

Invalid parameter list

-4       PBORCA_BADLIBRARY

Bad library name

-7       PBORCA_LIBIOERROR

Library I/O error

-8       PBORCA_OBJEXISTS

Object already exists

-9       PBORCA_INVALIDNAME

Library name is not valid

Usage

You do not need to set the library list or current application
before calling this function.

Adding objects

PBORCA_LibraryCreate creates an empty library file on disk. You can
add objects to the library from other libraries with functions like
PBORCA_LibraryEntryCopy and PBORCA_CheckOutEntry. If you set the library
list so that it includes the new library and then set the current
application, you can import object source code with
PBORCA_CompileEntryImport and PBORCA_CompileEntryImportList.

Examples

This example creates a library called NEWLIB.PBL and provides a
descriptive comment:

In these examples, session information is saved in the data
structure ORCA_Info, shown in About the examples.

See also

PBORCA_LibraryDelete


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