Recent

Author Topic: Run .exe file on Windows ce 5.0  (Read 12078 times)

RushaliW

  • Newbie
  • Posts: 5
Run .exe file on Windows ce 5.0
« on: November 21, 2015, 05:02:41 am »
Hello Everyone
I want to run executable(.exe) file on windows ce 5.0.When i am trying to run .exe file on it, i am getting error as- This is not valid Windows ce application. Please tell me how to resolve this error.\

Do needful



Thanks & Regards
Rushali Watane

Septe

  • Jr. Member
  • **
  • Posts: 68
Re: Run .exe file on Windows ce 5.0
« Reply #1 on: November 21, 2015, 06:00:01 am »
It is exactly what it means:  not a valid CE application.   You need an application that's specifically for CE.  Yes, I know it's Windows but apparently there's a difference between Windows and Windows CE.  I'm not an expert nor do I use Windows CE.  This is about all I can say on the subject.


RushaliW

  • Newbie
  • Posts: 5
Re: Run .exe file on Windows ce 5.0
« Reply #2 on: November 21, 2015, 07:26:29 am »
Hello
The executable file is compatible to windows ce 5.0. Actually i have created one sample application in python(Visual studio 2015 community edition). I want to run .py file on windows ce 5.0 with ARM processor; but when i am trying to run .py file it shown me error as-

cannot find one of its components. Make sure the path & file name are correct and that all the required libraries are available.

Then i have tried next option as i have converted .py file into .exe file with the help of py2exe. Then i have tried to run .exe file, it given me error as not a valid windows ce application. This .exe is run on windows 7 32 bit but not on windows ce 5.0

Please tell me the solution to resolve this error.

Regards
Rushali Watane

Suyash

  • Newbie
  • Posts: 1
Re: Run .exe file on Windows ce 5.0
« Reply #3 on: April 01, 2019, 06:25:05 pm »
Dear Rushali,

Did you find a solution to it??
Because even I am facing the same problem, and I converted my file using cx_freeze

BTW which WinCE device are you using??

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: Run .exe file on Windows ce 5.0
« Reply #4 on: April 01, 2019, 07:04:53 pm »
Did you find a solution to it??
Because even I am facing the same problem, and I converted my file using cx_freeze
In Rushali's case the problem was two-fold:
  • He was missing (or misplaced) some needed libraries and so the Python script couldn't run;
  • Using py2exe produced an executable for Windows 32bit, i.e. for i386, while his platform was Windows CE for ARM. An i386 binary will, of course, not run on an ARM.

In your case, make sure you're "freezing" the script for the proper platform and that you have all the needed Python (or whatever) libraries installed in its proper place in the target system. That should be all; just do what the error message says:
Quote
Make sure the path & file name are correct and that all the required libraries are available.
« Last Edit: April 01, 2019, 07:06:38 pm by lucamar »
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

af0815

  • Hero Member
  • *****
  • Posts: 1288
Re: Run .exe file on Windows ce 5.0
« Reply #5 on: April 01, 2019, 07:27:26 pm »
This is not a phyton nor an Visual studio forum.

Look at the Errormessages, you have not the right interpreter installed and if you converted the pythonfile you use the false target. yYou have to use a win-ce target with the rigth cpu configured.
regards
Andreas

 

TinyPortal © 2005-2018