VLScgSetFeatureVersion

Syntax 

int VLScgSetFeatureVersion (VLScg_HANDLE iHandle, codeT *codeP, char *info);
Argument Description

iHandle

The instance handle for this library.

codeP

The pointer to the codeT struct.

info

Any printable ASCII text. Maximum of 11 characters for long licenses. Not supported for short license codes.

Description

Sets feature version number to be licensed.

NOTE   Feature version number for a license is optional. Not supported for short license codes.

Returns

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

Error Code Description

VLScg_RESERV_STR_ERR

If the string is a reserved string.

VLScg_INVALID_CHARS

If the string characters are not printable.

VLScg_EXCEEDS_MAX_STRLEN

If string exceeds maximum number of characters. Maximum length of the version is 11 characters.

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