Re: [python-win32] getting global addressbook with extended mapi]

2006-01-09 Thread Jürgen Kareta
Hi Filip, what version of the pythonwin extension do you use ? It should be Build 205, because this Build contains some important changes. regards, Jürgen Hi, Looking around to (ab)use the Exchange GAL from python I found the code snippet listed below, posted to this list last summer. When I

Re: [python-win32] getting global addressbook with extended mapi

2006-01-09 Thread Filip Van Raemdonck
Hi, Looking around to (ab)use the Exchange GAL from python I found the code snippet listed below, posted to this list last summer. When I try it, I get an exception in the fourth last statement: traceback ... rows = mapi.HrQueryAllRows(...) com_error: (-2147220992,

Re: [python-win32] getting global addressbook with extended mapi

2005-06-08 Thread python
Hi all, Mark wrote: Why? Is something missing, or it just tricky? Sadly, if you want easy, you use CDO/Simple MAPI. Extended MAPI is not for the faint hearted (or for people with deadlines :) I think, that's not a matter of to be clench or not. Diving into a crazy organized library with poor

[python-win32] getting global addressbook with extended mapi

2005-06-06 Thread Jürgen Kareta
Hello, I followed Marks hint and tried to get my global addressbook entries with extended mapi. from win32com.mapi import mapiutil from win32com.mapi import exchange import pprint,pythoncom profileName = Test session = mapi.MAPIInitialize(None) session =mapi.MAPILogonEx(0,'test',None,