by pjmlp · 5y ago · 0 comments
However it basically goes like this, you edit the IDL files with the same editing capabilities as if you were in Notepad, because to this day they still haven't bothered to add syntax highlighting or code completion to IDL files editing experience.
Then to top that, your C++ files get generated, and then it is up to you to track down the changes between the newly generated code and the last time you edited the IDL files. So you manually merge that generated code into the C++ files of your project.
Naturally a wonderful experience to those of us on .NET that occasionally need to deal with C++.
You are right regarding high level languages on Windows, the political might of WinDev means that something like iOS with Swift, or Android/Kotlin, where C and C++ play a minor role, will never happen.
Every time .NET gets a bit more of focus, they spoil the fun.
Interesting fact, the new context menu for Windows 11 requires a COM implementation to add entries for your application.
It shouldn't be a surprise that extensions to it still use COM (extensions to File Explorer have always used COM). Especially because these new COM interfaces for Shell Extension have been added retroactively all the way back to Windows 7. (The new ones differ from the old ones in providing more data to Windows for grouping/merging the extensions into submenus than previously supported.)
[1] Random image search example: https://cdn.mos.cms.futurecdn.net/LNbaeoqJymdkQ3uSK7MeKY-970...
(ETA: Useful blog post: https://blogs.windows.com/windowsdeveloper/2021/07/19/extend...)