A full example is available at http://republika.pl/maom_onet/browser/Interface.idl Use IDL compiler to generate classes, compile them & run IR, which will throw exceptions & exit. Displayed messages suggest that pragmas cause that known (already loaded) types cannot be found.