public OWTypeLib(ITypeLib tlib) { _tlib = tlib; _name = _tlib.GetName(); _name += " (" + _tlib.GetHelpDocumentation(out _) + ")"; _data = new IDLData(this); }
public OWTypeLib(string path) { NativeMethods.LoadTypeLib(path, out _tlib); if (_tlib == null) { throw new Exception(path + " is not a loadable typelibrary."); } _name = _tlib.GetName(); _name += " (" + _tlib.GetHelpDocumentation(out _) + ")"; }