Re: Change in PyWin32 API between 3.0x and 3.11 ?
"Christoph J. Dorner via python-win32" <[email protected]> Mon, 27 Oct 2025 09:00:20 +0100
| Newsgroups | gmane.comp.python.windows |
|---|---|
| Organization | privat |
| Message-ID | <[email protected]> |
Hi there, after some investigation I found the issue: the new version of PyWin32 does not find the makepy generated Python module. So I also learned that my codes needs this pre-generated. I am afraid I had a lack of understanding how PyWin32 and COM work i e the difference between make-py-generated dispatch and a dynamic dispatch. So I need to initiate the makepy generation - but here comes my next problem: I work with an objext xxx.Application i. e. Excel.Application. However, the CLISD of this object is not the CLSID of the respective typelib and I would need this to initiate makepy for the typelib. Regards Christoph Am 26.10.2025 um 15:36 schrieb Christoph J. Dorner via python-win32: > Hi there, > > I discovered that an MSOffice wrapper, especially an EXCEL wrapper > does not work as I was used to anymore. I evaluated the COM-object (or > its _dispobj_ subobject) attributes _prop_map_get_ and _prop_map_put. > It seems they are gone. Instead there is a subobject _olerepr_ with > attributes propMapGet / propMapPut. However, these are lazily > evaluated i. e. this doesn't work as desired either. > > I recently upgraded to PyWin32 3.11 - not sure what I used before, a > pretty early 3.0x release at least. > Was there a change I am not aware of? > > Regards > Christoph > _______________________________________________ > python-win32 mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3//lists/python-win32.python.org > Member address: [email protected] _______________________________________________ python-win32 mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-win32.python.org Member address: [email protected]