Hey all,
I'm using python 2.6b1.amd64 and pywin32-211.win-amd64 on my 64 bit
vista system. I am trying to access the CAPICOM COM library through
win32com.client. However, every time I try to load it through the
Dispatch method I get the following error:
>>> win32com.client.Dispatch('CAPICOM.Store.2')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python26\Lib\site-packages\win32com\client\__init__.py", line
95, in
Dispatch
dispatch, userName =
dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsct
x)
File "C:\Python26\Lib\site-packages\win32com\client\dynamic.py", line
98, in _
GetGoodDispatchAndUserName
return (_GetGoodDispatch(IDispatch, clsctx), userName)
File "C:\Python26\Lib\site-packages\win32com\client\dynamic.py", line
78, in _
GetGoodDispatch
IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx,
pythoncom.IID_ID
ispatch)
pywintypes.com_error: (-2147221164, 'Class not registered', None, None)
>>>
This same code and same CAPICOM library work just fine on a vista 32
system. If I run makepy, I can select the CAPICOM v2.1 Type Library(2.1)
from the list, and it creates the python interface from the type library
without any problems.
Based on the many searches I've done on Google, it looks like CAPICOM v
2.1.0.2 (which is the version I'm using) is supported on Windows Vista.
Only problem is I couldn't find anything about whether it supposed to
work on Vista64 or not?
Anybody got any clues what's going on here?
Thanks
-Matt
_______________________________________________
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32