Closed RadAd closed 8 months ago
You can use the PowerShell module to format a COM proxy in a pseduo C#/C++ format from the command line using $proxy = Get-ComProxy -Iid "SOME IID"; Format-ComProxy $proxy
. Obviously that's not IDL format, you'd have to try and convert it manually.
For interests sake I've now committed a formatter for proxies that outputs in IDL as well as an better implementation of type library parsing which no longer always converts to a .NET assembly and will format in IDL format. For example, you can now do Get-ComTypeLib -Parse | Format-ComProxy
and it'll parse all type libraries and output as IDL text. Closing this issue.
Does anybody have a command line version that can output proxy definitions of interfaces in idl format?