Recent

Author Topic: This App Can't Run on your PC error  (Read 5604 times)

spigor

  • New Member
  • *
  • Posts: 10
This App Can't Run on your PC error
« on: August 24, 2017, 06:10:16 pm »
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

  • Hero Member
  • *****
  • Posts: 14213
  • Probably until I exterminate Putin.
Re: This App Can't Run on your PC error
« Reply #1 on: August 24, 2017, 07:01:49 pm »
recompile..? Try {$mode objfpc}
If it is simple and does not have any mistakes, post it here. We can make it work.
Specialize a type, not a var.

spigor

  • New Member
  • *
  • Posts: 10
Re: This App Can't Run on your PC error
« Reply #2 on: August 28, 2017, 10:11:56 am »
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

  • Sr. Member
  • ****
  • Posts: 473
Re: This App Can't Run on your PC error
« Reply #3 on: August 28, 2017, 10:30:46 am »
DOS apps, even 32 bit, are not supported on Windows 7 and higher.

Thaddy

  • Hero Member
  • *****
  • Posts: 14213
  • Probably until I exterminate Putin.
Re: This App Can't Run on your PC error
« Reply #4 on: August 28, 2017, 10:41:33 am »
Yup but this likely has a different. cause. Code please? (Polish language is no problem here)
« Last Edit: August 28, 2017, 10:44:53 am by Thaddy »
Specialize a type, not a var.

tetrastes

  • Sr. Member
  • ****
  • Posts: 473
Re: This App Can't Run on your PC error
« Reply #5 on: August 28, 2017, 10:58:53 am »
Note "pp\bin\go32v2" in path.


Thaddy

  • Hero Member
  • *****
  • Posts: 14213
  • Probably until I exterminate Putin.
Re: This App Can't Run on your PC error
« Reply #6 on: August 28, 2017, 11:04:11 am »
Note "pp\bin\go32v2" in path.
You are right. I overlooked that.

Use Dosbox. Or recompile.....
Specialize a type, not a var.

spigor

  • New Member
  • *
  • Posts: 10
Re: This App Can't Run on your PC error
« Reply #7 on: August 28, 2017, 01:49:49 pm »
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.

 

TinyPortal © 2005-2018