'not a valid windows ce application'...


G

Guest

Hi,

I developed a program on Whidbey using CF 2.0. I've successfully
deployed/installed it to a PPC 2003 device.

I also have two devices running CE 4.2 that I would like to run the program
on. I can't deploy it with Whidbey and when I transfer over the bundled cab
files I get a '<program> is not a valid windows ce application' error on
execution.

I successfully installed the CF 2.0 and Sql Data Client 2.0 libraries to the
4.2 device so that both the PPC 2003 and Win CE 4.2 have the same library
listing in their 'Remove Programs' dialog.

When I looked up the error it implied that I am using an executable made for
a different processor. I checked the device info and believe I am using the
correct one*.

I read a post in the archives saying that CF 2.0 programs could not run on
CE 4.2...but the error I'm getting is either a funny way of saying it or I'm
doing something else wrong. Is there any hope to get it onto the 4.2 devs?

thanks again,
- Zack

* side question regarding cpu types: ARM vs ARMV4? The PPC has an 'ARM
SA...' and the 4.2 has an ARM XSCALE. I've been copying over ARMV4 cabs for
CF2.0...but the PPC seems to work w/ the ARM cab of my own program? What's
the diference?
 
Ad

Advertisements

I

Ilya Tumanov [MS]

CE 4.2 devices are not supported by CF V2, sorry. Use CF V1 SP2.



As to ARM CPUs, they have different versions, similar to x86 family.

80286 has some additional commands compared to 8086, 386 has some more
commands (a lot more, it this case) and so on.

Same for ARM family.



XScale, which is an ARMV5 processor, can execute ARMV4, ARMV4T and ARMV4I
(plus more).

OS currently can be compiled for ARMV4T, ARMV4 or ARMV4I (which is basically
a combination of first two).

Here's a small table to illustrate which binary can be run on which OS:



Binary > ARMV4 ARMV4T ARMV4I

OS \/

ARMV4 OK FAIL FAIL

ARMV4T FAIL OK FAIL

ARMV4I OK OK OK



Which one is your device? Can be any of these, depends on how OS was
compiled.



Best regards,



Ilya



This posting is provided "AS IS" with no warranties, and confers no rights.
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top