Re: Not a valid Windows CE Application Error on my platform

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Are we talking a managed app or a native app? If it's managed you need a
few things (like toolhelp, networking, probably imaging api, and there are a
few others IIRC. Most should be pulled in if you include the CF. Also,
what CF version do you have installed? What version were the apps compiled
against?


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com


"apitman" <apitman@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7E3FBEF5-F02A-4366-BB88-81EB946B772A@xxxxxxxxxxxxxxxx
yes. I have created a couple of .NET applications.

I believe you. I put aygshell on the device (the real one) and the
application runs now, but has an exception. I don't get this exception on
my
real PDA, so it must be something in my platform that is missing or wrong.
I
will continue to debug.


"<ctacke/>" wrote:

I doubt it's the EXE format. If you create a general "hello world" app
for
the platform with Studio or eVC does it run?


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com


"apitman" <apitman@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C9B0AEEF-AFC4-4371-A1FB-5F44B4326F30@xxxxxxxxxxxxxxxx
Well, I don't think it is a problem with a missing ordinal. I have
another
program that gives the same error. I copied the dll files to my pc and
ran
depends on it. All of the dll files are there and all of the ordinals
are
there.

There must be something about the format of the exe file. Any ideas?

"Bruce Eitman [eMVP]" wrote:

Yes.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

"apitman" <apitman@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C7FC28FA-0C0B-46FF-8AF1-C9296CBB7560@xxxxxxxxxxxxxxxx
Would a dependancy cause the error "Not a valid Windows CE
Application"?
Usually when there is a dependancy missing you get the longer error
about
making sure the application has all of the components that it needs.

Tony

"Bruce Eitman [eMVP]" wrote:

dumpbin is your friend here. You can use dumpbin to determine what
the
dependencies are for the application, then add the missing
componenents,
if
they are available.

dumpbin /DEPENDENTS myapp.exe

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

"apitman" <apitman@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3FE016BE-3D4F-419B-B7D6-DED2879EFDC1@xxxxxxxxxxxxxxxx
I have created a new WM5 platform based on the MX21 board.

I have several programs that I have downloaded trials from
Handango
just
to
see if they will work. They are supposed to be ARM programs (as
most
are
now). I believe they are written for the Pocket PC and maybe that
is
the
problem.

The problem is that when I run these programs on my platform I
get
the
error
that the application is not a valid Windows CE application.

What do I have to do to support these? It seems like if there was
some
component missing I would get an error that there is a missing
dll
or
something. Isn't this error when the application is complied for
the
wrong
target? I know the MX21 is ARM based, so why would I get this
error?












.



Relevant Pages

  • Re: Is there anyway to exclude Uloader build in build configuration?
    ... beitman AT applieddata DOT net ... Microsoft WEP Gold-level Member ... syntax error: missing ')' before identifier 'hDriver' ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Not a valid Windows CE Application Error on my platform
    ... so it must be something in my platform that is missing or wrong. ... All of the dll files are there and all of the ordinals are ... beitman AT applieddata DOT net ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Not a valid Windows CE Application Error on my platform
    ... I doubt it's the EXE format. ... beitman AT applieddata DOT net ... Usually when there is a dependancy missing you get the longer error ... The problem is that when I run these programs on my platform I get ...
    (microsoft.public.windowsce.platbuilder)
  • Re: sqlce resources not released on application.exit()?
    ... The correct way to shut down is to exit the Main function. ... Chris Tacke, Embedded MVP ... > the app was using immediately every time. ... >> 3.5 Query Analyzer no longer opens the database for exclusive access. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Device driver crash ?? - in udevice.exe
    ... Chris Tacke, Embedded MVP ... document somewhere which explains this (KITL etc.) process ??. ... NB I need to use the serial ports for my app - so need KITL to use ... The serial port thread is the one which stops when the above popup ...
    (microsoft.public.windowsce.embedded)