Re:Microsoft Officially Deprecates UWP – Thurrott.com
by native_samples on Saturday October 23, 2021 @09:57AM
(#28968543)
Which new context menu is that?
Re:Microsoft Officially Deprecates UWP – Thurrott.com
by WorldMaker on Monday October 25, 2021 @12:26PM
(#28989703)
Windows 11 File Explorer now defaults to a new context menu when right clicking [1] with the modern "command bar" approach (first seen in OneNote for a number of years now, with the most common options collapsed to icons on a "toolbar" at the top/bottom closest to the mouse).
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...)
Re:Microsoft Officially Deprecates UWP – Thurrott.com
by native_samples on Tuesday October 26, 2021 @03:54AM
(#28997553)
Ah ha, very useful, thanks. I guess I can see why they used COM for this, it's the path of least resistance for them given the existing code, and I suppose it means you can write extensions in other languages too (though my memories of doing this are pretty horrible).
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.