DOC: Licensed Keyword Must Be Added to .ODL

ID: Q126725


The information in this article applies to:
  • Microsoft OLE Control Developer's Kit (CDK), version 1.0


SUMMARY

Chapter 10, "Licensing Your Control," pages 174-175 of the OLE CDK Programmer's Guide lists the source code changes necessary to customize the licensing of an OLE Control. It fails to mention that the coclass entry in the .ODL file for the control must be modified to contain the "licensed" keyword.

A standard .ODL coclass entry for an OLE Control is:


[uuid(973B27A3-F232-101A-B57B-00608CC96AFA),helpstring("My Licensed
Control")]
coclass MyLicensed 
This should be amended to:

[uuid(973B27A3-F232-101A-B57B-00608CC96AFA),licensed,helpstring("My
Licensed Control")]
coclass MyLicensed 

Additional query words: 2.00 1.00

Keywords :
Version : :1.0
Platform :
Issue type :


Last Reviewed: January 19, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.