C# System.Diagnostics.Process: can't launch a 32 bit exe file in 64 bit OS

后端 未结 4 1998
梦如初夏
梦如初夏 2021-01-14 06:01

I have a 32 bit exe file compiled with Turbo Pascal. I need to launch it. It worked well when I had Windows 7 32 bit, but now I\'m on Windows 7 64 bit, and I get the followi

4条回答
  •  渐次进展
    2021-01-14 06:16

    Turbo Pascal could only generate 16-bit code, there was never a version that could create 32-bit executables. Running 16-bit code requires a virtual machine that uses the real-mode emulation support in the CPU (virtual 8086 mode). This emulation is not available if the processor is running in 64-bit mode.

    You cannot run 16-bit processes on a 64-bit operating system. You may have a shot at getting it going with the DOSBox emulator.

提交回复
热议问题