Re: [python-win32] timeout in DDE function call

2009-07-21 Thread Patrick Janssen
Hi all, We are still struggling to find a solution to this DDE timeout problem. I came across some sites talking about asynchronous DDE with callback functions. With this approach, the the DDE server executes a callback function when it has finished processing its long job. Does anyone know if

Re: [python-win32] EOFError in gencache.py

2009-07-21 Thread Paul Hudson
Hi, I am having a similar problem when launching multiple instances of an Application that allows Python scripting via COM. (Yes, I am launching these instances at the same time.) The error I get is: File C:\Python26\Lib\site-packages\win32com\client\makepy.py, line 288, in

Re: [python-win32] Trying to grab exe of foreground window

2009-07-21 Thread reehdus
I tried that but I get stuck at EnumProcessModules. It tells me my access is denied. I'm not sure if I'm doing it right. My code is below: import win32gui import win32api import win32con from time import sleep import win32process sleep(2) name = win32gui.GetForegroundWindow() t,p =