Open Galbi3000 opened 2 years ago
Win32 is used by Windows for 32 and 64 bit... Win32 api.
Also the conditional has to stay for compatibility reasons (old code).
Win32 is used by Windows for 32 and 64 bit... Win32 api.
Sorry, I realise I forgot to mention that I was referring to the documentation, not the source.
I might note that the Win32 API should not be needed for a 64-bit program. If it is then it's not fully 64-bit but a hybrid which could break if Microsoft decided to retire Win32 like they did with Win16 (also known as NTVDM and "Windows on Windows". Microsoft's use of WoW as an acronym predated Blizzard's! 😏) after Windows XP.
A minor issue as it's still understandable what you mean but perhaps instead of 'Win32' to refer to Windows just use 'Windows'? Then it would make sense when you refer to the 64-bit and 32-bit versions.
Also, you should use 32-bit and 64-bit for x86 and x64 respectively as x86/64 are used specifically for Intel processors not the OS bit width. Though they are increasingly used in Linux to denote 32/64 bits which I think is wrong. I believe they should now just use 32 or 64 instead of x86, x64, AMD, or AMD64 as they can get confusing for new Linux users who do not do programming. Just my opinion there! lol