Hi all,
when I try to call GetObject('winmgmts:') when an input event happens, I get
the following exception:
File "D:\DAProject\Workspace\context\inputhook\RDFIO.py", line 67, in wordInfo
self.GetActiveProcess()
File "D:\DAProject\Workspace\context\inputhook\RDFIO.py", line 71, in
GetActiveProcess
l_WMI = GetObject('winmgmts:')
File "c:\Python24\Lib\site-packages\win32com\client\__init__.py", line 73, in
GetObject
return Moniker(Pathname, clsctx)
File "c:\Python24\Lib\site-packages\win32com\client\__init__.py", line 88, in
Moniker
moniker, i, bindCtx = pythoncom.MkParseDisplayName(Pathname)
pywintypes.com_error: (-2147417843, 'An outgoing call cannot be made since the
application is dispatching an input-synchronous call.', None, None)
Any help really appreciated.
Thanks a million,
Radu.
___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ _______________________________________________
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32