gexgd0419

Results 114 comments of gexgd0419

I think that a way to suppress the automatic releasing would be helpful. I found this problem when I was trying to fix a problem in [NVDA](https://github.com/nvaccess/nvda)'s [SAPI 4 driver](https://github.com/nvaccess/nvda/blob/master/source/synthDrivers/sapi4.py),...

I am thinking of introducing some kind of release/close/dispose method that can be used to release the COM object, and more importantly, prevent automatic releasing after that. For example, `IUnknown.Release()`...

Actually I came from this issue nvaccess/nvda#17608, where NVDA changes `gen_dir` before generating wrappers: ``` python comtypes.client.gen_dir = Dir("comInterfaces").abspath ``` and adds that path to the search path of `comtypes.gen`,...

A problem is that if you want to pass a pointer to an interface pointer to another function, like this: ``` python voice: ISpeechVoice = POINTER(ISpeechVoice)() # type checker error...