5 ms·
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
by maxxxxx 7y ago
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.
- snaky 7y agoATL and WTL are such bunches of macros actually, but for C++.
- maxxxxx 7y agoATL yes, I think WTL is macros around Win32.
- dragontamer 7y agoWTL 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.
- maxxxxx 7y agoI worked a little with WTL a while ago and it felt like MFC done right.