Re: [python-win32] File access entries are incorrectly set

2016-09-27 Thread Goku Balu
Thanks Eryk for being so thorough and for a great explanation. If this can be solved differently, I tried with removing the rights such as READ_CONTROL and SYNCHRONIZE from the FILE_GENERIC_WRITE mask and it worked as well. masks= ntsecuritycon.FILE_GENERIC_WRITE masks=masks&~ntsecuritycon.READ_CO

[python-win32] win32com.client: Struggling with dynamic dispatch, behavior differs when debugging

2016-09-27 Thread Dominik .
Hi, I’m trying to control an existing COM server (C++ code) with a python COM client. Unfortunately, no type library exists for most of the COM objects. Thus I’m restricted to the dynamic dispatch implementation. This is my sample code. Its equivalent works flawlessly when called via VBA, more