DOCERR: Licensed Keyword Must Be Added to .ODL

Last reviewed: October 12, 1995
Article ID: Q126725
The information in this article applies to:
  • The Microsoft OLE Control Developer's Kit (CDK), version 1.0

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 reference words: 2.00 1.00
KBCategory: kbtool kbdocerr
KBSubcategory: CDKIss


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 12, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.