DOCERR: Licensed Keyword Must Be Added to .ODLLast reviewed: October 12, 1995Article ID: Q126725 |
The information in this article applies to:
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
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |