About this task
To import
a type library
into a IBM® Rational® Rhapsody® model:
Procedure
- Select .
- In the Open window, select the type library
you want to import (for example, Atl.dll).
Type libraries can be encapsulated in .tlb (COM
type library) files, .olb (Visual Basic object library)
files, or they can be built into COM servers and contained in .dll, .exe,
or .ocx files. Rational Rhapsody can
import type libraries from any of these types of files.
- Click Open.
If the import is successful, Rational Rhapsody displays
a message indicating that the import operation was completed successfully.
Results
The result of
the import of
a type library are new packages added to the model, which contain
the COM interfaces, types, coclasses, inheritance relationships, attributes,
and operations from the imported type library.
Note: Type
libraries are imported as read-write, but code generation is disabled
for them.