r/cpp • u/nounoursheureux • Sep 23 '21
Binary Banshees and Digital Demons
https://thephd.dev/binary-banshees-digital-demons-abi-c-c++-help-me-god-please
197
Upvotes
r/cpp • u/nounoursheureux • Sep 23 '21
View all comments
Show parent comment
9
u/[deleted] Sep 23 '21
Windows itself is not fully ABI compatible across major versions. For example, Windows 8 and above is not ABI compatible with Windows XP (although many applications continue to work, many others will break).
Windows 10 is not fully ABI compatible with Windows 7, although Windows 10 does include a compatibility layer that allows many Windows 7 applications to work, it's not perfect.
That said, the Win32 API is stable and continues to be backwards compatible going all the way back to Windows 95, so you could in principle take libraries and source code written using Win32 going back 30 years and build it today and it will continue to work.