In order to create a market for ActiveX Controls to proliferate on the World Wide Web, it's essential to standardize a method for licensing ActiveX Controls embedded in HTML documents. Before discussing proposed licensing schemes, we establish criteria and objectives for such schemes.
One must first understand the existing IClassFactory2 (ICF2) mechanism for licensing OLE Controls on the desktop-i.e. for use in Visual Basic. In the existing scheme, a VB programmer buys a design-time license for a control. When the programmer creates a VB form, the authoring tool embeds a free run-time license for the control inside the form, allowing anybody to use the form without paying for the control. The control itself participates in this process via the IClassFactory2 interface, which exposes two important methods. The first method, RequestLicKey, is used by the authoring tool (VB) for querying the run-time license at design-time. The second method, CreateInstanceLic, is used by the run-time application (VBRUN.DLL) for instantiating the control using this run-time license. For more information on the existing scheme for licensing of Controls, see OLE Reference documentation for the IClassFactory2 interface.
Having understood the desktop model for licensing controls, we specify objectives for online licensing of controls. The goals for online licensing make this model quite analogous to the desktop model: