Userobjectpbworca

Library :     C:\D\PBWLibrarys\Testpbd\pbw_orca.pbl
Date:          29/10/2004 21.27.30
Comment: 


Specifications, notes, comments on pbworca
///WRAPS PBORCA

PBORCA65 or PBORCA70 or PBORCA80 or PBORCA90 or PBORCA100

PBWORCA skeleton program:

or_open()-> connect to COM ORCA wrapper
or_sessionopen(version)-> open orca session ( version 65,7,8,9,10)
or_sessionsetcurrentappl(libraryapp, appname)-> sets application (is optionalin some cases)
........................ do something
or_sessionclose()-> 

THIS SOFTWARE AND THE ACCOMPANYING FILES ARE DISTRIBUTED "AS IS" AND WITHOUT WARRANTIES 






Functions:
public function integer or_applicationrebuild (integer erebldtype, ref pborca_comperr entrys[])Compiles all the objects included on the library list.
protected function integer or_compileentryimport (string lpszsourcelibname, string lpszentryname, integer otentrytype, string lpszcomments, string lpszentrysyntax, ref pborca_comperr entrys[])Imports the source code for a PowerBuilder object into a library and compiles it
public function long or_compileentryregenerate (string lpszsourcelibname, string lpszentryname, integer otentrytype, ref pborca_comperr entrys[])Regenerate the source code for a PowerBuilder object into a library and compiles it
public function integer or_dynamiclibrarycreate (string lpszsourcelibname, string lpszpbrname, long lflags)Creates PowerBuilder dinamic library (PDB) or PowerBuilder DLL
public function integer or_executablecreate (string lpszexename, string lpsziconname, string lpszpbrname, string pbdflags, long lflags)Creates executable ( not implemented jet)
public function string or_libfrompbt (string path, ref string appname, ref string applib)Library list, application name, application library from pbt file
public function integer or_librarycommentmodify (ref string lpszlibname, string lpszlibcomments)Modify the comment for library
public function integer or_librarydirectory (string lpszlibname, ref string lpszcomment, ref pborca_entry entrys[])Gets the libraries comments and a list of its objects
public function integer or_libraryentrycopy (string lpszsourcelibname, string lpszdestlibname, string lpszentryname, integer otentrytype)Copy one object from one library to another
public function integer or_libraryentrydelete (string lpszsourcelibname, string lpszentryname, integer otentrytype)Deletes a PowerBuilder library file from disk
public function integer or_libraryentryexport (string lpszsourcelibname, string lpszentryname, integer otentrytype, ref string lpszexportbuffer)Exports library objects
public function integer or_libraryentryinformation (string lpszsourcelibname, string lpszentryname, integer otentrytype, ref pborca_info info)Retrives object information pborca_entry
public function integer or_libraryentrymove (string lpszsourcelibname, string lpszdestlibname, string lpszentryname, integer otentrytype)Moves one object from one library to another
public function integer or_objectqueryhierarchy (string lpszlibraryname, string lszentryname, integer otentrytype, ref string ancestor[])Queries a PowerBuilder object to get a list of the objects in its ancestor hierarchy
public function integer or_objectqueryreference (string lpszlibraryname, string lszentryname, integer otentrytype, ref pborca_reference entrys[])Queries a PowerBuilder object to get a list of itsreferences to other objects
public function integer or_open ()public function integer or_open ()
or_sessioncloseCloses an ORCA session
public function unsignedlong or_sessionopen (integer arg_version)Opens an ORCA session and returns a session handle. The handle is internally stored in PBWORCA object
public function integer or_sessionsetcurrentappl (string lpszappllibname, string lpszapplname)Set session application
public function integer or_setlibrarylist (string arg_lib)Specifies libraries for an ORCA session ( use ; like separator)
or_versionSets Orca version (default is 9)