[python-win32] get MAPI session from OOM

ckkart at hoc.net ckkart at hoc.net
Sat May 26 08:21:08 EDT 2018


Hi,

on a 64bit windows 7 machine with pywin32 221 I used to get a pointer to 
the MAPI session like this

outlook.GetNamespace('MAPI').Session.MAPIOBJECT.QueryInterface(mapi.IID_IMAPISession)

on a fresh windows 10 machine with pywin32 221 this fails with

pywintypes.com_error: (-2147467259, 'Unknown error', None, None)

Any idea why this is failing? How can I debug it?

Christian


More information about the python-win32 mailing list