About ORCA functions

All ORCA functions are external C functions that use the WINAPI macro to specify the calling convention of the function. On the Windows platform, WINAPI is defined as __stdcall.

About the code examples in this book

All ORCA functions may be called from either an ANSI client program or a Unicode client program. The code examples in this book use macros that are defined in the tchar.h file that is installed with PowerBuilder in the Shared/Appeon/PowerBuilder/cgen/h directory. If the /D _UNICODE compiler directive is set, these macros accept Unicode string arguments. If _UNICODE is not defined, these macros accept ANSI string arguments. This coding technique allows you to create ORCA programs that run successfully as either ANSI or Unicode clients.

ORCA functions can be divided into seven groups with the following functions:

  • Managing the ORCA session

  • Managing PowerBuilder libraries

  • Compiling PowerBuilder objects

  • Querying PowerBuilder objects

  • Creating executables and dynamic libraries

  • Managing source control operations involving PowerBuilder objects