Page History
ActiveX コントロールを購入すると、そのコントロールのデザインタイム ライセンスを購入することになります。 このライセンスは、製品のインストール時に PC にインストールされ、開発中のアプリケーションでコントロールを使用できるようになります。 通常、製品にはさまざまなデザインタイムライセンスが販売されています。 これらは、単一の開発者ライセンスから複数のシートおよびネットワーク ライセンスまで多岐にわたります。
通常、デザインタイム ライセンスを購入すると、コントロールの無制限のコピーをコンパイルされたオブジェクト コードとしてアプリケーションとともに配布する許可も得られます。
ActiveX コントロールを使用するアプリケーションを配布する場合は、コントロールもバイナリ形式 (通常は .dll または .ocx) で配布する必要があります。 デザインタイム ライセンスに付属するセットアップ ファイルを配布しないでください。
デザインタイム ライセンス
コントロールにデザインタイム ライセンスがある場合、通常はセットアップ プログラムの実行時にライセンス キーがインストールされます。 ライセンス キーは通常レジストリに入力されますが、特別なファイルにインストールすることもできます。
デザインタイム ライセンスがあると、アプリケーション開発にコントロールを使用できるようになります。
ランタイム ライセンス
コントロールを使用する実行可能アプリケーションを構築およびコンパイルしたら、エンドユーザーが使用できるように、このコントロールをアプリケーションと一緒に配布する必要があります。 ほとんどのコントロールは、この目的のためのランタイム ライセンスもサポートしています。
コンパイル時にライセンス キーが実行可能ファイルに埋め込まれ、このキーはコントロールの作成時にコントロールに挿入されます。 コントロールはこのキーをチェックし、有効であればコントロールが起動します。 キーは実行可能ファイルに埋め込まれているため、顧客のマシンにライセンス キーをインストールする必要はなく、配布する必要があるのは ActiveX コントロールのバイナリ形式だけです。
Skip to end of metadataGo to start of metadata
When you purchase an ActiveX control, you buy a design-time license for the control. This license is installed on your PC when you install the product and it allows you to use the control in the applications you are developing. The products typically have various design-time licenses for sale. These range from single developer licenses to multiple seat and network licenses.
Usually when you buy a design-time license you also get permission to distribute unlimited copies of the control with your application as compiled object code.
When you distribute your application that uses an ActiveX control, you need to ship also the control in binary format (usually a .dll or an .ocx). Do not distribute the setup file that comes with the design-time license.
Design-time license
If a control has a design-time license it will usually install a license key when its setup program is run. The license key is usually entered into the registry although it can also be installed in a special file.
Having a design-time license allows you to use the control for developing applications.
Run-time license
When you have built and compiled an executable application that uses the control, you need to distribute this control together with the application so a customer can use it. Most of controls also support run-time licensing for this purpose.
At compile time a license key is embedded into the executable file and this key is then inserted into the control when it is created. The control checks this key and if it is valid the control starts up. Because a key is embedded into the executable, no license key is required to be installed on the customer's machine and only the ActiveX control's binary needs to be distributed.