Announcement

Collapse
No announcement yet.

WIN32 is alive and well and getting a new Status in the development world

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • WIN32 is alive and well and getting a new Status in the development world

    Interesting stuff coming out of Microsoft Build 2019 this week.

    Read the following articles:

    https://www.thurrott.com/dev/206351/...f-windows-apps

    https://www.zdnet.com/article/micros...-windows-apps/

    To make some quotes:

    To be clear, this is a positive change: Instead of blindly pushing forward with its failed strategy to make Universal Windows Apps (UWPs) the only truly-modern platform for building Windows apps, Microsoft has, over time, opened up more and more UWP functionality to non-UWP platforms. This includes legacy platforms that Microsoft once deprecated, like Win32, WPF, and WinForms. So what’s old is new again
    Win32, WPF, and WinForms have all been “elevated to full status”—Gallo’s words—in Windows 10 all these years later.
    Win32 platform lives on and seems to be back on Microsoft's radar screen
    Last year, Microsoft introduced "XAML Islands," which is technology aimed at helping Windows developers to use UI elements from UWP in their existing Win32 applications, including Windows Forms and Windows Presentation Foundation (WPF) technologies.
    makes it easier for you to keep your existing Win32 code investments and enhance your applications by additively taking advantage of modern Windows 10 features."
    In short, Microsoft's new goal is to try to make all features available to all of the Windows frameworks
    Chris Boss
    Computer Workshop
    Developer of "EZGUI"
    http://cwsof.com
    http://twitter.com/EZGUIProGuy

  • #2
    Hurray! Good to know Chris. My apps were feeling a little lonely.

    Comment


    • #3
      Problem is 1809 version of Win 10 is a long way from being found on most computers due to the random deletions it did, including my machine. I have subsequently re installed 1809 a few weeks back but corporates will take a long time.

      Comment


      • #4
        One of the key features of the Windows API is being able to load DLL's dynamically at run time using LoadLibrary. Windows allows you to "poll" to see if an API exists. Now why is this important ?

        I find that it is best to stick to the core WIN32 APIs which have been around for some time, so ones app will run on most PC's, say from Windows 7 to Windows 10. But if you want to take advantage of new features in your app when it is run on Windows 10 (any iteration of it), then load OS DLL's dynamically to see if the new API you want is there. If not, either turn off that feature in your app or use an alternative. If available use the new feature.

        I did this some years ago with Themes. My GUI engine loads Theme API's dynamically, so if a system has themes turned off I can use an alternative.

        It is best to not lock oneself into too current a version of Windows with newer API's hard coded in an app.
        Chris Boss
        Computer Workshop
        Developer of "EZGUI"
        http://cwsof.com
        http://twitter.com/EZGUIProGuy

        Comment


        • #5
          Carlo,
          Problem is 1809 version of Win 10 is a long way from being found on most computers due to the random deletions it did, including my machine. I have subsequently re installed 1809 a few weeks back but corporates will take a long time.
          I like to think that random deletions it was not. Probably just Users folder the same as if you did a Reset Computer. Problem is people don't make backups of their User Data folder. They wrongly think it is a safe location when in fact it is not. "1809" I have 3 of them working fine.

          Comment


          • #6
            Jim, I think it was more related to installations where OS was on a SSD and user folders on a different drive. Fact is that none of the previous installations did that and MS pulled the update for months and fixed the issue so it was a problem. Lucky I have been around for a while and do back up, but it is a waste of time to get back to a usable point in time image.

            Comment

            Working...
            X