VLScgSetTrialDaysCount

Syntax

int VLScgSetTrialDaysCount (VLScg_HANDLE iHandle, codeT *codeP, char *daysStr);
Argument Description

iHandle

The instance handle for this library.

codeP

The pointer to the codeT struct.

daysStr

String representing the number of days in a trial period.

Description

Sets the number of trial days to the count specified by the daysStr parameter.

The count string sets the time period for which the application can run after the first time the license is requested.

Returns

The status code VLScg_SUCCESS is returned if successful. Otherwise, a specific error code is returned indicating the reason for failure. For the complete list of the error codes, refer to License Generation and Revocation Error Codes .