Adding IDL definitions to an interface repository makes application objects available to other applications that have access to the same interface repository.
You can add IDL definitions to the interface repository with the idl -R=-v command, as follows:
idl -R=-v filenameThe following example shows how to add a simple IDL interface definition to the interface repository with the IDL command. The interface definition is:
// Begin foo.idl interface Foo { typedef long MyLong; MyLong op1(); void op2(); };The command to add this IDL definition to the interface repository is:
$ idl -R=-v foo.idl Created Alias MyLong. Created Operation op1. Created Operation op2. Created Interface Foo. $