RAD Studio |  |

Adding a Module to the Type Library
See Also
Collapse All
To add a module to a type library

1. On the toolbar, click on the module icon. The selected module is added to the object list pane .
2. Type a name for the module.
3. On the Attributes page, specify the name of the DLL whose entry points the Module represents.
4. Add any methods from the DLL you specified in step 3 by clicking on the Method icon in the toolbar and then using the attributes pages to describe the method.
5. Add any constants you want the module to define by clicking on the Const icon on the toolbar. For each constant, specify a name, type, and value.

See Also

Adding an Enumeration to the Type Library

Adding an Alias to the Type Library

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!