VLScgPrintErrorExt

Syntax

int VLScgPrintErrorExt (VLScg_HANDLE iHandle, char *fileName);
Argument Description

iHandle

The instance handle for this library.

fileName

A pointer to a filename. To write data into the:

>standard output (stdout) - specify “stdout” as the filename.

>standard error (stderr) - specify “stderr” as the filename.

Description

Writes the accumulated errors to the specified file or standard error or standard output streams.

Returns

The status code VLScg_SUCCESS is returned, if successful. Otherwise, it returns the following error codes:

Error Code Description

VLScg_INVALID_INT_TYPE

The entered value is not numeric.

VLScg_EXCEEDS_MAX_VALUE

The value exceeds Max_Codegen_Version.

For the complete list of the error codes, refer to License Generation and Revocation Error Codes .