3 ms·
I have the exact opposite experience --- I've been programming in win32 for about as long as it existed, and did win16 before that. There's no better way to mak
by userbinator 3y ago
I have the exact opposite experience --- I've been programming in win32 for about as long as it existed, and did win16 before that. There's no better way to make super-efficient single-EXE applications that can run on every version of Windows since Win95 (and if you try a little harder, you can get to Win3.11 with Win32s.) Everything newer has felt far more bloated and complex.
That said, some parts of Windows API are horrible; everything COM-related comes to mind.
- pyeri 3y agoInstead of dabbling with the windows API directly, a better option is to use the .NET WinForms API. You can use any CIL language like C# or VB.NET. Granted that it is a framework or toolkit like many others but one of the most efficient and relatively easiest to use that I've found so far. I've tried hello worlds with many other frameworks like Java Swing/AWT/SWT, Python Tkinter/PySide, Electron.js framework, etc. and none came close to WinForms API, especially when it's powered using the super efficient Visual Studio Community Edition.
- namdnay 3y agoWasnt there an issue with your apps then needing the user to install the “.NET runtime” or something? I remember it being the main reason why people stayed on win32 for so long
- pyeri 3y agoThe .NET runtime usually comes pre-installed on all machines above Windows 7. It's just that if your app needs some advanced feature, you need to upgrade runtime version in those cases, this is pretty much how other runtime based systems like Java and Python also work. Most people who stayed with win32 for long were C programmers who preferred the "purist way". But those who wanted developer productivity soon switched to the frameworks of .NET, Java, Python, etc.
- pjmlp 3y ago.NET runtime comes pre-installed since Windows XP. Also many of us already in the 16 bit days would rather use C++ frameworks than raw C. One really needs to be quite masochist to use pure C in Windows.
- namdnay 3y agonah, windows 7 maybe, but I definitely have memories of people having to install ".NET 3.5 runtime" all the time on XP
- pjmlp 3y agoMoving goalposts? So no longer .NET, rather .NET version XYZ. https://en.wikipedia.org/wiki/.NET_Framework_version_history https://en.wikipedia.org/wiki/.NET_Framework_version_history => NET Framework 1.0 is an integral component of Windows XP Media Center Edition and Windows XP Tablet PC Edition. Installation CDs for the Home edition and the Professional edition of Windows XP SP1, SP2 or SP3 come with .NET Framework 1.0 installation packages.
- namdnay 3y agoI'm not really trying to prove anything, I jsut remember that at the time, doing something with windows forms was a guarantee of getting people saying "ah it tells me i have to download .NET"
- veave 3y ago+1, to me the Win32 API makes a lot of sense. It may be too low level, but that's a consequence of the time when it was created.
- pjmlp 3y agoCOM is a very good idea, very badly executed, ignoring VB 6, .NET Native and C++/CX attempts at improving it. Unfortunely WinDev seems blind to how it is perceived from outside Redmond, is keen in sabotaging DevDiv efforts to make it usable, and keeps pushing it everywhere, moreso after Longhorn.