Advertisement
Guest User

Untitled

a guest
Sep 24th, 2013
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.30 KB | None | 0 0
  1. import wx.lib.activex
  2. ---------------------------------------------------------------------------
  3. WindowsError                              Traceback (most recent call last)
  4. C:\Windows\system32\<ipython-input-2-382897257b2c> in <module>()
  5. ----> 1 import wx.lib.activex
  6.  
  7. C:\Python27\lib\site-packages\wx\lib\activex.py in <module>()
  8.      41 if not hasattr(sys, 'frozen'):
  9.      42     f = os.path.join(os.path.dirname(__file__), 'myole4ax.tlb')
  10. ---> 43     cc.GetModule(f)
  11.      44 from comtypes.gen import myole4ax
  12.      45
  13.  
  14. C:\Python27\lib\site-packages\comtypes\client\_generate.pyc in GetModule(tlib)
  15.      95         logger.debug("GetModule(%s)", tlib)
  16.      96         pathname = tlib
  17. ---> 97         tlib = comtypes.typeinfo.LoadTypeLibEx(tlib)
  18.      98     elif isinstance(tlib, (tuple, list)):
  19.      99         # sequence containing libid and version numbers
  20.  
  21.  
  22. C:\Python27\lib\site-packages\comtypes\typeinfo.pyc in LoadTypeLibEx(szFile, regkind)
  23.     478         "Load, and optionally register a type library file"
  24.     479         ptl = POINTER(ITypeLib)()
  25. --> 480         _oleaut32.LoadTypeLibEx(c_wchar_p(szFile), regkind, byref(ptl))
  26.     481         return ptl
  27.     482 else:
  28.  
  29. C:\Windows\system32\_ctypes\callproc.c in GetResult()
  30.  
  31. WindowsError: [Error -2147312566] Error loading type library/DLL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement