Re: [python-win32] how to terminate a extended mapi session

2007-08-24 Thread Mark Hammond
> what must I take care of by myself when I want to terminate a program > which > communicates with Outlook through the extended mapi interface, i.e. in > addition > to session.Logoff and mapi.MAPIUnitialize? > Currently I get the following errors upon prorgam termination and, what > is more > impo

Re: [python-win32] where should adodbapi be placed within python-win32?

2007-08-24 Thread Mark Hammond
Just following up from Roger's comments (which I agree with): > The existing directory tree looks like this: > -- adodbapi-2.1 > ..--adodbapi > --__init__.py > --adodbapi.py > ..--tests > --adodbapitest.py > --adodbapitestconfig.py > --adbapi20.py (and so forth) > ..--lice

[python-win32] how to terminate a extended mapi session

2007-08-24 Thread Christian K.
Hi, what must I take care of by myself when I want to terminate a program which communicates with Outlook through the extended mapi interface, i.e. in addition to session.Logoff and mapi.MAPIUnitialize? Currently I get the following errors upon prorgam termination and, what is more important, Outl

Re: [python-win32] get running application handle

2007-08-24 Thread Radu Ciora
I don't seem to be able to connect to a running instance of Word. I get the following error : Traceback (most recent call last): File "c:\Python24\Lib\site-packages\pyHook\HookManager.py", line 325, in MouseSwitch return func(event) File "D:\DAProject\Workspace\context\inputhook\RDFIO.py

Re: [python-win32] get running application handle

2007-08-24 Thread Tim Roberts
Radu Ciora wrote: > Is it possible to get a handle to a running application like the one I get > when I explicitly start an application myself using the > win32com.client.Dispatch("Object.Name")? > > Is the one retrieved by win32gui.GetForegroundWindow() the same as the one > above or not, if no

[python-win32] get running application handle

2007-08-24 Thread Radu Ciora
Hi all, Is it possible to get a handle to a running application like the one I get when I explicitly start an application myself using the win32com.client.Dispatch("Object.Name")? Is the one retrieved by win32gui.GetForegroundWindow() the same as the one above or not, if not how can I get th