[python-win32] Bug When Reading In PSTs

2021-02-17 Thread Nick Orr
ST) PSTFolderObj = find_pst_folder(outlook, selectedPST) - Because the emails otherwise are identical, I can only assume this is being done by the library. I'm wondering if there&

Re: [python-win32] PyIMAPIProp.GetPropList() and Py_None ref count

2015-08-25 Thread Nick Czeczulin
On 8/24/2015 2:10 AM, Mark Hammond wrote: On 13/08/2015 8:20 PM, Nick Czeczulin wrote: I noticed that every call to PyIMAPIProp.GetPropList() causes the ref count for Py_None to increase by one. Can someone comment on whether the following patch seems correct, or if more might be needed? At

[python-win32] PyIMAPIProp.GetPropList() and Py_None ref count

2015-08-13 Thread Nick Czeczulin
I noticed that every call to PyIMAPIProp.GetPropList() causes the ref count for Py_None to increase by one. Can someone comment on whether the following patch seems correct, or if more might be needed? Thanks, -nick --- a/com/win32comext/mapi/src/mapilib.i +++ b/com/win32comext/mapi/src

Re: [python-win32] Possible memory leak in pywin32

2015-01-21 Thread Nick Czeczulin
tead of walking the folder hierarchy and opening/caching multiple folder entries, you can also try using GetHierarchyTable(mapi.CONVENIENT_DEPTH) instead to get the entry id's and process them in sequence. hth, -nick ___ python-win32 mailing lis

Re: [python-win32] How to set value for multi-valued property using mapi?

2015-01-04 Thread Nick Czeczulin
Kapil Dolas wrote: > Thank you for replying. I tried example given by you and it worked. All MV > properties are working in the > same way, except ones of type PT_MV_BINARY. Can you give me example for > setting PT_MV_BINARY values? I think you will need to apply this patch for PT_MV_BINARY to

Re: [python-win32] How to set value for multi-valued property using mapi?

2014-12-30 Thread Nick Czeczulin
ne) >>> msg.GetProps((0x80a2101f,)) (0, ((2158104607L, (u'Orange category', u'Green category', u'Blue category', u'Red category')),)) Hth, -nick ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] building pywin32 for python 2.6...

2013-01-30 Thread SEIGAL Nick
TOOLS environmental variable to my VS2010 VS100COMNTOOLS value like this: SET VS90COMNTOOLS=%VS100COMNTOOLS% Prior to doing that, I couldn't even get past an Unable to find vcvarsall.bat error. As you can probably tell, I am installing on Windows (XP Pro SP 3) and have Python 2.6.5 a

Re: [python-win32] MySQL connection/admin tool

2011-11-25 Thread Nick
As new Python user, my discovery of the ADODBAPI package is very encouraging - is there any documentation other than that in the test cases? Regards - Nick -Original Message- From: python-win32-bounces+qgold.77=gmail@python.org [mailto:python-win32-bounces+qgold.77=gmail

Re: [python-win32] wmi query error

2009-10-21 Thread Nick Moszer
To make talking about it easier, I've slightly reworked your code to make it run completely (ie I've added imports and the initialisation of the data structures) and to take advantage of the wmi module's built-in features. Hopefully it's perfectly clear what's going on; I've just avoided some

[python-win32] wmi query error

2009-10-20 Thread Nick Moszer
Hello, I'm occasionally receiving the following error when doing a set of queries: Traceback (most recent call last): File "psg5220_demo.py", line 236, in find_hdd_drives partitions = services.query(query) File "...path..\wmi.py", line 889, in query return [ _wmi_object (obj, instance_o

[python-win32] wmi query error

2009-10-20 Thread Nick Moszer
Hello, I'm occasionally receiving the following error when doing a set of queries: Traceback (most recent call last): File "psg5220_demo.py", line 236, in find_hdd_drives partitions = services.query(query) File "...path..\wmi.py", line 889, in query return [ _wmi_object (obj, instance_o

[python-win32] Multiple Windows Services

2009-01-22 Thread Nick Leaton
ok up the other parameters I need to use in the SvcDoRun etc 2 questions. 1. Is this the right approach? I would prefer not to go near the registry if possible. 2. If not, what is the right way? Thanks -- Nick ___ python-win32 mailing list python-win32@

[python-win32] comtypes methods vs. properties question

2007-10-19 Thread Nick Collier
rce type.'), u'Data source type.') (, '_set_DataSourceType', (,), ((1, 'Text'),), ('propput', u'Data source type.'), u'Data source type.') Lastly, feature.FeatureClass works fine in VB, for what that's worth. FeatureClass is read-on

[python-win32] 'No such interface supported' question

2007-10-18 Thread Nick Collier
ne) I'm assuming that this is because this doesn't implement IDispatch. The relevant VB code does: Set m_pAoInitialize = New AoInitialize Is there any equivalent in win32com (or even ctypes) that I can use to get this working or is Python out of the question here? thanks very much, N