* * *

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

spigor

  • New member
  • *
  • Posts: 5
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: 4793
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.
"Logically, no number of positive outcomes at the level of experimental testing can confirm a scientific theory, but a single counterexample is logically decisive."

spigor

  • New member
  • *
  • Posts: 5
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

  • New member
  • *
  • Posts: 13
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: 4793
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 »
"Logically, no number of positive outcomes at the level of experimental testing can confirm a scientific theory, but a single counterexample is logically decisive."

tetrastes

  • New member
  • *
  • Posts: 13
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: 4793
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.....
"Logically, no number of positive outcomes at the level of experimental testing can confirm a scientific theory, but a single counterexample is logically decisive."

spigor

  • New member
  • *
  • Posts: 5
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.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus