News for hackers. Stuff that matters.
Re:Microsoft Throws in the Towel on UWP, Elevates Win32 by maxxxxx on Friday May 10, 2019 @10:32PM (#19884155)
Without a language that wraps the naked COM calls it's truly a nightmare. Using COM from C# is pretty OK and VB6 was great too. C++ is worse. To me COM is like an assembly language for interop that needs to be wrapped with higher language constructs. You could probably write a few C macros to reduce the boilerplate code a lot.
Re:Microsoft Throws in the Towel on UWP, Elevates Win32 by snaky on Friday May 10, 2019 @11:14PM (#19884313)
ATL and WTL are such bunches of macros actually, but for C++.
Re:Microsoft Throws in the Towel on UWP, Elevates Win32 by maxxxxx on Saturday May 11, 2019 @09:50AM (#19886133)
ATL yes, I think WTL is macros around Win32.
Re:Microsoft Throws in the Towel on UWP, Elevates Win32 by dragontamer on Saturday May 11, 2019 @02:57PM (#19887785)
WTL is built on top of ATL. Both use C++ isms, like curiously recurring template pattern.

WTL is definitely "deep" C++. Templates, multiple inheritance, and more.

Re:Microsoft Throws in the Towel on UWP, Elevates Win32 by maxxxxx on Saturday May 11, 2019 @05:16PM (#19888428)
I worked a little with WTL a while ago and it felt like MFC done right.