4 ms·
> Windows header files have historically not been conscientious about avoiding these reserved names. We’re trying to do better for new headers, but not everyone
by jhoechtl 4y ago
> Windows header files have historically not been conscientious about avoiding these reserved names. We’re trying to do better for new headers, but not everyone has gotten the memo.
Love that tone
- pjmlp 4y agoWindows 2000 introduced the concept of application manifests, where executables get a mini XML file for application specific settings instead of storing them into the registry. They also allow for registration free COM components. To this day many Microsoft teams still haven't gotten the memo.
- TeMPOraL 4y agoI'm not sure if they provided adequate tooling for the former. They definitely didn't provide adequate documentation for the latter. Or maybe they did - back when MSDN was actually well-organized and somewhat complete-ish (and shipped on optical disks or otherwise downloadable!), I was too young to make much use of it. Now, that wealth of knowledge is mostly gone, and external links to it don't resolve.
- pjmlp 4y agoNaturally it is documented, otherwise how would I know about it without ever being a Microsoft employee? These are the current locations for them, https://learn.microsoft.com/en-us/windows/win32/sbscs/creating-registration-free-com-objects https://learn.microsoft.com/en-us/windows/win32/sbscs/creati... https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-files-reference https://learn.microsoft.com/en-us/windows/win32/sbscs/manife... https://learn.microsoft.com/en-us/windows/win32/sbscs/isolated-applications?source=recommendations https://learn.microsoft.com/en-us/windows/win32/sbscs/isolat... https://learn.microsoft.com/en-us/windows/win32/sbscs/authoring-state-storage-for-side-by-side-assemblies https://learn.microsoft.com/en-us/windows/win32/sbscs/author... (see last bullet points regarding not to use the registry as best practice) The problem as usual, is lack of education on the matter, and willingness to change how people work. I stand corrected on one point though, it has been a long time and actually it was only introduced on Windows XP and Server 2003, not Windows 2000.
- mastax 4y agoI keep seeing new tools written by Microsoft that store settings in dot files in my user directory or my documents rather than AppData.
- pjmlp 4y agoMost likely from new interns educated on UNIX without proper work review. At least that's my guess, given recent trends.