News for hackers. Stuff that matters.
Re:Meta replaces WhatsApp for Windows with web wrapper that ... by tsimionescu on Thursday November 13, 2025 @06:31AM (#45913661)
While the old APIs keep working, Microsoft does like to come up with completely new APIs every five years or so.

If you want to do basic UI on Windows today, you can use:

  - Win32 UI
  - MFC
  - .NET WinForms
  - WinFX
  - .NET WPF
  - WinRT
  - UWP
And I'm sure there are many others that I'm forgetting.
Re:Meta replaces WhatsApp for Windows with web wrapper that ... by jack_tripper on Thursday November 13, 2025 @06:33AM (#45913681)
Adding new APIs does not hinder your ability to use the old APIs you're familiar with.

I think apps like Notepad++ and Sumatra PDF are still written in Win32.

Re:Meta replaces WhatsApp for Windows with web wrapper that ... by sirwhinesalot on Thursday November 13, 2025 @07:05AM (#45913919)
Of course it does, those APIs don't work well together. It's a pain in the ass to use the features only available in the new APIs on old applications. Microsoft has put some effort into making it work but it's still hugely hit and miss. You can mix WPF and WinUI2, but not WinUI3.
Re:Meta replaces WhatsApp for Windows with web wrapper that ... by ptx on Thursday November 13, 2025 @08:12AM (#45914519)
Amazing. I thought they fixed that years ago with "XAML islands", but apparently [1] they un-fixed it again with WinUI 3 and still haven't re-fixed it?

[1] https://learn.microsoft.com/en-us/windows/apps/desktop/moder...

Re:Meta replaces WhatsApp for Windows with web wrapper that ... by sirwhinesalot on Thursday November 13, 2025 @08:42AM (#45914806)
Yup, though I wouldn't even say they "fixed it" with XAML islands since they lock you into .NET core 3...

They also keep doing boneheaded decisions like the new DWriteCore, which is a reimplementation of DirectWrite, and some features are only available in DWriteCore, but DWriteCore is not a strict superset and doesn't even interoperate directly with Direct2D like DirectWrite did.

So once again, either stay on the "stable" as people like to call it version, which is effectively frozen, or use the new one and rewrite half you app!

And then people wonder why nobody uses Microsoft APIs if they can avoid it.

Re:Meta replaces WhatsApp for Windows with web wrapper that ... by tsimionescu on Thursday November 13, 2025 @09:38AM (#45915388)
It doesn't directly, but the fact that these old APIs are abandoned still matters. It's not like you'll get bug fixes for Win32 (non-CVE) issues, it's just that it will keep working as is.
Re:Meta replaces WhatsApp for Windows with web wrapper that ... by qcnguy on Thursday November 13, 2025 @10:38AM (#45916157)
You can't get a competitive UX by using Win32, even basics like resizable windows and proper hidpi support is missing. And the number of people who know this API is probably sub-1% these days. There are dozens of us left, dozens!
Re:Meta replaces WhatsApp for Windows with web wrapper that ... by mghackerlady on Thursday November 13, 2025 @09:25AM (#45915252)
If I ever need to make a windows GUI I'm gonna do it in win32, it seems like the only one that's reliably there
Re:Meta replaces WhatsApp for Windows with web wrapper that ... by baq on Thursday November 13, 2025 @10:00AM (#45915694)
Funny thing is this is also true on Linux nowadays