DOC: Licensed Keyword Must Be Added to .ODL (126725)
The information in this article applies to:
- Microsoft OLE Control Developer's Kit (CDK)
This article was previously published under Q126725 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
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB126725 |
---|
|