I just got a bug report for an issue that only occurs when the program is running "on a 64-bit machine." Now, Delphi doesn't produce 64-bit code, so theoretically that shouldn't matter, but apparently it does in this case. I think I have a workaround, but it will break things on 32-bit Windows, so I need some way to tell:
- If I'm running on a x64 or an x86 processor and
- If I'm running under a 64-bit version of Windows under Win32 emulation or native Win32 on a 32-bit OS.
Does anyone know how I can get those answers from within my app?