hmCal_Register
hmCal_Register(Serialnumber) -> Errorcode
Parameter Type Description
Serialnumber String -> Serialnumber for hmCal
Errorcode Longint <- Errorcode
The command hmCal_Register registers the plugin. The Serialnumber parameter is the appropriate serial number from heubach media.
You must call the command compellingly. Put an empty string in the parameter Serialnumber and the Plugin will run 60 minutes in the demo mode. If you do not call the command, all other commands will be ignore.
You have to call this command once. The seconds call is ignored and returns an error. You must call this command depending on the current application type. For example, you cannot pass a development license to the command if you run a runtime application.
0 = no error
-1 = wrong license
-2 = not yet registered
-3 = internal error
-4 = demo license
-5 = wrong version
-6 = wrong 4D version
-7 = reached max clients
-8 = expired
C_LONGINT($vl_error)
$vl_error:=hmCal_Register ("78HMmg1UkopPjifgJKm")