This App Can't Run on your PC error lazarus / 67-Windows ---------------------------------------------------------------------- spigor · 2017-08-24 16:10 Hi, I have written a simple command line program in plain fpc 2.6.4. It runs well on the old XP, but when I try to run it under windows 10 Home 64 I get this error message: This App Can't Run on your PC I've spent some time trying to make it run, but with no success. I know win10 64 does not support 16 bit programs, but should run a 32-bit. None of the backward compability settings did not work, also, windows could not solve the problem itself. Any help will be much appreciated. ---------------------------------------------------------------------- Thaddy · 2017-08-24 17:01 recompile..? Try {$mode objfpc} If it is simple and does not have any mistakes, post it here. We can make it work. ---------------------------------------------------------------------- spigor · 2017-08-28 08:11 I thought I try to compile the program under win 10 64-bit first and see if it works, but it turns out the same error message is displayed. I attach a screen shot to make it clear, maybe it's something simple. Should it work? ---------------------------------------------------------------------- tetrastes · 2017-08-28 08:30 DOS apps, even 32 bit, are not supported on Windows 7 and higher. ---------------------------------------------------------------------- Thaddy · 2017-08-28 08:41 Yup but this likely has a different. cause. Code please? (Polish language is no problem here) ---------------------------------------------------------------------- tetrastes · 2017-08-28 08:58 Note "pp\bin\go32v2" in path. ---------------------------------------------------------------------- Thaddy · 2017-08-28 09:04 Quote from: tetrastes on August 28, 2017, 10:58:53 amNote "pp\bin\go32v2" in path. You are right. I overlooked that. Use Dosbox. Or recompile..... ---------------------------------------------------------------------- spigor · 2017-08-28 11:49 Now I get it. fpc installed on my old PC is for go32 DOS extender. I actually forgot that over the years. I will recompile the program in a win32 version of fpc and it should work. Thank you for your input.