Callback function for compiling
objects
Description
Called for each error that occurs when objects in a library are
compiled so that the errors can be stored for later display.
Functions that use this callback format are:
PBORCA_ApplicationRebuild
PBORCA_CompileEntryImport
PBORCA_CompileEntryImportList
PBORCA_CompileEntryRegenerate
Syntax
|
1 |
typedef void (CALLBACK *PBORCA_ERRPROC) ( PPBORCA_COMPERR, LPVOID ); |
|
Argument |
Description |
|---|---|
|
PPBORCA_COMPERR |
Pointer to the structure PBORCA_COMPERR (described |
|
LPVOID |
Long pointer to user data |
Return value
None.
Usage
You provide the code for the callback function. The callback
function generally reads the error information passed in the
PBORCA_COMPERR structure, extracts whatever is wanted, and formats it in
the user data buffer pointed to by LPVOID.
The user data buffer is allocated in the calling program and can be
structured any way you want. It might include a structure that counts the
errors and an array or text block in which you format information about
all the errors.
For information and examples of coding a callback function, see
About ORCA callback
functions.