HOWTO: Provide Constants from an ActiveX ComponentLast reviewed: July 3, 1997Article ID: Q137095 |
The information in this article applies to:
SUMMARYThe use of constants is an efficient way to keep code clear, easier to document, and more understandable. When you create ActiveX components, it is more efficient to provide constants with the server in a ready-to-use form. This eliminates the need to declare constants in OLE client (container) applications and makes it easier to call into server classes. This article describes two ways to implement this.
MORE INFORMATIONTwo ways to provide constants for use with an ActiveX component:
REFERENCESMkTypLib comes with Win32 Software Development Kit (SDK) for Windows NT and Microsoft Visual C++ version 2.0 or later For more information on Type Libraries and ODL, please see the Win32 SDK. |
Keywords : IAPOLE kbcode vb432 vb4win vb5all vb5howto kbhowto
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |