Adding a Module to the Type Library

From RAD Studio
Jump to: navigation, search

Go Up to Using the Type Library Editor


To add a module to a type library

  1. On the toolbar, click 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 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 the Const icon on the toolbar. For each constant, specify a name, type, and value.

See Also