OLE control license string

license = “text

Specifies the license key string for the control. This clause is only required if the control is licensed.

Licensed OLE controls will only work if the machine on which the program is running is licensed for that control, or if the application program supplies a license key when it links to the control.

The usual procedure is to install a license on a development machine, ask the control for its license key string, and then supply that string to the control when the application is running on another machine. The get_license() function is available for the purpose of retrieving an OLE control license string.

Some OLE controls generate an error popup when Sculptor calls a function to query their license status prior to sending a license string. Assigning the style flag WS_AUTOLICENSE to the control avoids this.


RELATED TOPICS

OLE controls