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
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