Hi ,
I am getting an error mentioned below while using in some of the machines when
trying to open the application where as it is working fine in some of the
machines :
I also tried to create the Class id manually using the regedit but it didn't
worked.
I am using win-7 32 bit OS , python 2.4.4,Pmw module and pywin
,pyinstaller,pythoncom..etc
Can you suggest how to force the class Id in to valid string either through
code or manually by dll registration?
Thanks in advance
Traceback (most recent call last):
Set_ID = win32.Dispatch("Donglesetup.Application")
File "C:\Python27\lib\site-packages\win32com\client\__init__.py", line 95, in
Dispatch
dispatch, userName =
dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
File "C:\Python27\lib\site-packages\win32com\client\dynamic.py", line 114, in
_GetGoodDispatchAndUserName
return (_GetGoodDispatch(IDispatch, clsctx), userName)
File "C:\Python27\lib\site-packages\win32com\client\dynamic.py", line 91, in
_GetGoodDispatch
IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx,
pythoncom.IID_IDispatch)
pywintypes.com_error: (-2147221005, 'Invalid class string', None, None)
Thanks!,
Kiran
_______________________________________________
Chennaipy mailing list
[email protected]
https://mail.python.org/mailman/listinfo/chennaipy