Procedure: Adding a library reference

Use the following procedure to add a library reference.

  1. Open the Library Definition window.

In the Resource Explorer, choose Libraries in the Base group for the current dictionary. Click the New button in the Resource Explorer to create a new library reference.

[spacer]

  1. Select the library type.

Choose one of the following types:

COM Type Library   The library being referenced provides functionality through COM.

Resource Library   The library being referenced contains resources that will be used in the application.

  1. Name the library reference.

If you are creating a reference to a resource library, supply a name for the reference. The name should indicate what resources are available in the library.

  1. Select a registered type library or type library file.

If you are creating a reference to a COM type library, click the Name lookup button to open the COM Type Libraries window, which lists all of the type libraries that have been registered on the current machine. Select the appropriate library and click Select.

If the type library file hasn’t been registered, click the Path lookup button in the Library Definition window. Use the File dialog to select the type library file for the application you want to reference.

  1. Select the path to the library file.

If you are creating a reference to a resource library, click the Path lookup button in the Library Definition window. Use the file dialog to select the resource library file that contains the resources you want to reference.

  1. Save the library reference.

Click OK to save the library reference.


Documentation Feedback