Esempio n. 1
0
        public OWTypeLib(ITypeLib tlib)
        {
            _tlib  = tlib;
            _name  = _tlib.GetName();
            _name += " (" + _tlib.GetHelpDocumentation(out _) + ")";

            _data = new IDLData(this);
        }
Esempio n. 2
0
 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 _) + ")";
 }