Callback function for PBORCA_ExecutableCreate

Description

Called for each link error that occurs while you are building an executable.

Syntax

typedef void (CALLBACK *PBORCA_LNKPROC)
              ( PPBORCA_LINKERR, LPVOID );

Argument

Description

PPBORCA_LINKERR

Pointer to the PBORCA_LINKERR structure (described next)

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_LINKERR structure and formats the message text 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 the message text.

For information and examples of coding a callback function, see About ORCA callback functions.