Purpose:
Upon purchase of Tethys Macro SDK product you would receive a valid Username and Key that you need to use in this function. Unless you call this function at the very beginning (before calling any other function) with a valid username and key, Tethys Macro SDK will not work as expected. If you are evaluating this product please pass “TrialUsername” and “TrialKey” as User name and Key to this function.
Declarations:
VC++
long RegisterProduct
(_bstr_t pUserName, _bstr_t pKey );
VISUAL BASIC:
RegisterProduct (ByVal pUserName As String, ByVal pKey As String) As Long
Parameters:
Return Value:
Returns 1 if there is any kind of failure or 0 if successful.
Notes:
This
function has to be called before you call any other function in your application
otherwise it may not work as expected. If you are passing “TrialUsername” and
“TrialKey” as User Name and Key it works as a Trial version that
expires in 30 days and also has other
limitations.