Class not registered???
maximilianscherr
MaximilianScherr at T-Online.de
Sat Jan 19 03:34:35 EST 2002
More information about the Python-list mailing list
Sat Jan 19 03:34:35 EST 2002
- Previous message (by thread): Class not registered???
- Next message (by thread): Class not registered???
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
i'm doing this and getting this error
import win32com.client
>>> shell = win32com.client.Dispatch("WScript.Shell")
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
File "C:\Python22\win32com\client\__init__.py", line 94, in Dispatch
dispatch, userName = dynamic._GetGoodDispatchAndUserName
(dispatch,userName,clsctx)
File "C:\Python22\win32com\client\dynamic.py", line 81, in
_GetGoodDispatchAndUserName
return (_GetGoodDispatch(IDispatch, clsctx), userName)
File "C:\Python22\win32com\client\dynamic.py", line 72, in
_GetGoodDispatch
IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx,
pythoncom.IID_IDispatch)
com_error: (-2147221164, 'Klasse nicht registriert', None, None)
____________________________^
____________________________| "Class not registered"
also happens with activepython 2.2.0 alpha
- Previous message (by thread): Class not registered???
- Next message (by thread): Class not registered???
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list