Open dornech opened 3 years ago
A typelib for what exactly? pywin32 doesn't come with any COM objects (other than demos and tests) - so it's people who use pywin32 to create COM objects that would want to create and ship a typelib - and some do (and one of the test component actually does this)
I was talking about a typelib for Python developped COM objects. I was thinking about support for automatically creating the IDL file and probably a kind of toolchaining with COM Registration for the objec titself as well as for a corresponding typelib.
Gesendet: Mittwoch, 07. April 2021 um 00:54 Uhr Von: "Mark Hammond" @.> An: "mhammond/pywin32" @.> Cc: "dornech" @.>, "Author" @.> Betreff: Re: [mhammond/pywin32] typelib support for Python COM object registration process (#1687)
A typelib for what exactly? pywin32 doesn't come with any COM objects (other than demos and tests) - so it's people who use pywin32 to create COM objects that would want to create and ship a typelib - and some do (and one of the test component actually does this)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
For calling Python COM objects form VBA it is helpful to have full support for a) intellisense and b) call signature display in the IDE. Moreover additional comfort would be provided with a) named parameters and b) typechecking.
As far as I understood the necessary task to accomplish this comfort would be to provide a typelib. the necessary MIDL.exe compiler can be retrieved from Microsoft as far as I understood.
Is any support for creation of a typlib planned?
Thanks in advance.