Win CE 4.2

  • Thread starter Paul G. Tobey [eMVP]
  • Start date
R

Rak

Hi all,
I am new to the mobile world. I am developing a smart device application
which should run on both pocket pc and win ce 4.2.
So far the application is running fine on my pocket pc device. Now I want to
make it run on my win ce device.

I have installed .NET CF 2.0 SP 1 on my device. Changed the target platform
for the project to Win CE 5.0. Once I deploy my application to the device
and double click on the app it throws an error saying "not a valid win ce
application".

Any help is much appreciated.

Thanks,
Rakesh
 
P

Paul G. Tobey [eMVP]

..NET CF 2.0SP1 is required for CE4.2, although SP2 should work, also. If
you've found and installed .NET CF 2.0 (exactly), then you should update
with one of the service packs, yes.

Paul T.

Rak said:
Thanks Paul.
Both are Symbol devices.

Pocket PC v 4.20.0
Processor: Intel PXA255
Device: Symbol MC9000W

Win CE v 4.2
Processor Intel PXA225
Device: Symbol MC9060

i copied over the same exe from the pocket pc device to the other one, but
the same error.

I saw a post on the groups that said CE 4.2 devices are not supported by
CF v2 but only by CF v1 sp2. Is that true?
i read elsewhere that v2 sp1 supports CE 4.2 devices.

Thanks,
Rakesh

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:%23%[email protected]...
I've never seen that particular response that I can recall. A quick
search of the archives using GoogleGroups should give you any previous
hits on that error:

http://groups.google.com/group/micr...ork/topics?hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8

Why did you change the target platform to CE5? Seems like you should be
able to use the same EXE as you did for Pocket PC (what version of PPC,
too?), with no problems.

Paul T.
 
P

Paul G. Tobey [eMVP]

That device runs an x86 processor? No! It's running a PXA255, which is an
ARM processor. You're installing the wrong version of the Compact
Framework...

Paul T.

Rak said:
This is what I have done.

1. Uninstalled all the previous versions of CF

2. Downloaded and installed CF v2.0 SP 2 redistributable from
http://www.microsoft.com/downloads/...2F-07B5-4A8C-8A44-B4E1B196D5C0&displaylang=en

3. Copied cab file C:\Program
Files\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\wce400\x86\NETCFv2.wce4.x86.cab
to the device and installed it on the device.

4. copied and installed EN string resource cab from
\diagnostics\System_SR_ENU.CAB ( The remove programs menu in the device at
this point has 2 entries: "Microsoft .NET CF 2.0" and "Microsoft .NET CF
2.0 ENU-String Resource"

5. Opened my VS 2005 project (target platform pocket pc 2003, unchecked
deploy latest framework in project properties). Built and deployed the
project to device.

6. Ran the application from the device - "Not a valid Windows CE
application". :(
Even tried copying the exe from pocket pc device, but same error.

Any idea?

Thanks a lot
Rakesh



"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:[email protected]...
.NET CF 2.0SP1 is required for CE4.2, although SP2 should work, also. If
you've found and installed .NET CF 2.0 (exactly), then you should update
with one of the service packs, yes.

Paul T.

Rak said:
Thanks Paul.
Both are Symbol devices.

Pocket PC v 4.20.0
Processor: Intel PXA255
Device: Symbol MC9000W

Win CE v 4.2
Processor Intel PXA225
Device: Symbol MC9060

i copied over the same exe from the pocket pc device to the other one,
but the same error.

I saw a post on the groups that said CE 4.2 devices are not supported by
CF v2 but only by CF v1 sp2. Is that true?
i read elsewhere that v2 sp1 supports CE 4.2 devices.

Thanks,
Rakesh

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
DOT com> wrote in message
I've never seen that particular response that I can recall. A quick
search of the archives using GoogleGroups should give you any previous
hits on that error:

http://groups.google.com/group/micr...ork/topics?hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8

Why did you change the target platform to CE5? Seems like you should
be able to use the same EXE as you did for Pocket PC (what version of
PPC, too?), with no problems.

Paul T.

Hi all,
I am new to the mobile world. I am developing a smart device
application which should run on both pocket pc and win ce 4.2.
So far the application is running fine on my pocket pc device. Now I
want to make it run on my win ce device.

I have installed .NET CF 2.0 SP 1 on my device. Changed the target
platform for the project to Win CE 5.0. Once I deploy my application
to the device and double click on the app it throws an error saying
"not a valid win ce application".

Any help is much appreciated.

Thanks,
Rakesh
 
R

Rak

Thanks Paul.
Both are Symbol devices.

Pocket PC v 4.20.0
Processor: Intel PXA255
Device: Symbol MC9000W

Win CE v 4.2
Processor Intel PXA225
Device: Symbol MC9060

i copied over the same exe from the pocket pc device to the other one, but
the same error.

I saw a post on the groups that said CE 4.2 devices are not supported by CF
v2 but only by CF v1 sp2. Is that true?
i read elsewhere that v2 sp1 supports CE 4.2 devices.

Thanks,
Rakesh

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:%23%[email protected]...
 
G

Guest

And if it is somehow the right processor (definitely doubtful), I believe
the debugger does not work from Studio '05 to CE 4.2 on x86.

-Chris

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:[email protected]...
That device runs an x86 processor? No! It's running a PXA255, which is
an ARM processor. You're installing the wrong version of the Compact
Framework...

Paul T.

Rak said:
This is what I have done.

1. Uninstalled all the previous versions of CF

2. Downloaded and installed CF v2.0 SP 2 redistributable from
http://www.microsoft.com/downloads/...2F-07B5-4A8C-8A44-B4E1B196D5C0&displaylang=en

3. Copied cab file C:\Program
Files\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\wce400\x86\NETCFv2.wce4.x86.cab
to the device and installed it on the device.

4. copied and installed EN string resource cab from
\diagnostics\System_SR_ENU.CAB ( The remove programs menu in the device
at this point has 2 entries: "Microsoft .NET CF 2.0" and "Microsoft .NET
CF 2.0 ENU-String Resource"

5. Opened my VS 2005 project (target platform pocket pc 2003, unchecked
deploy latest framework in project properties). Built and deployed the
project to device.

6. Ran the application from the device - "Not a valid Windows CE
application". :(
Even tried copying the exe from pocket pc device, but same error.

Any idea?

Thanks a lot
Rakesh



"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
DOT com> wrote in message news:[email protected]...
.NET CF 2.0SP1 is required for CE4.2, although SP2 should work, also.
If you've found and installed .NET CF 2.0 (exactly), then you should
update with one of the service packs, yes.

Paul T.

Thanks Paul.
Both are Symbol devices.

Pocket PC v 4.20.0
Processor: Intel PXA255
Device: Symbol MC9000W

Win CE v 4.2
Processor Intel PXA225
Device: Symbol MC9060

i copied over the same exe from the pocket pc device to the other one,
but the same error.

I saw a post on the groups that said CE 4.2 devices are not supported
by CF v2 but only by CF v1 sp2. Is that true?
i read elsewhere that v2 sp1 supports CE 4.2 devices.

Thanks,
Rakesh

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
DOT com> wrote in message
I've never seen that particular response that I can recall. A quick
search of the archives using GoogleGroups should give you any previous
hits on that error:

http://groups.google.com/group/micr...ork/topics?hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8

Why did you change the target platform to CE5? Seems like you should
be able to use the same EXE as you did for Pocket PC (what version of
PPC, too?), with no problems.

Paul T.

Hi all,
I am new to the mobile world. I am developing a smart device
application which should run on both pocket pc and win ce 4.2.
So far the application is running fine on my pocket pc device. Now I
want to make it run on my win ce device.

I have installed .NET CF 2.0 SP 1 on my device. Changed the target
platform for the project to Win CE 5.0. Once I deploy my application
to the device and double click on the app it throws an error saying
"not a valid win ce application".

Any help is much appreciated.

Thanks,
Rakesh
 
R

Rak

This is what I have done.

1. Uninstalled all the previous versions of CF

2. Downloaded and installed CF v2.0 SP 2 redistributable from
http://www.microsoft.com/downloads/...2F-07B5-4A8C-8A44-B4E1B196D5C0&displaylang=en

3. Copied cab file C:\Program
Files\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\wce400\x86\NETCFv2.wce4.x86.cab
to the device and installed it on the device.

4. copied and installed EN string resource cab from
\diagnostics\System_SR_ENU.CAB ( The remove programs menu in the device at
this point has 2 entries: "Microsoft .NET CF 2.0" and "Microsoft .NET CF 2.0
ENU-String Resource"

5. Opened my VS 2005 project (target platform pocket pc 2003, unchecked
deploy latest framework in project properties). Built and deployed the
project to device.

6. Ran the application from the device - "Not a valid Windows CE
application". :(
Even tried copying the exe from pocket pc device, but same error.

Any idea?

Thanks a lot
Rakesh



"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:[email protected]...
.NET CF 2.0SP1 is required for CE4.2, although SP2 should work, also. If
you've found and installed .NET CF 2.0 (exactly), then you should update
with one of the service packs, yes.

Paul T.

Rak said:
Thanks Paul.
Both are Symbol devices.

Pocket PC v 4.20.0
Processor: Intel PXA255
Device: Symbol MC9000W

Win CE v 4.2
Processor Intel PXA225
Device: Symbol MC9060

i copied over the same exe from the pocket pc device to the other one,
but the same error.

I saw a post on the groups that said CE 4.2 devices are not supported by
CF v2 but only by CF v1 sp2. Is that true?
i read elsewhere that v2 sp1 supports CE 4.2 devices.

Thanks,
Rakesh

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
DOT com> wrote in message
I've never seen that particular response that I can recall. A quick
search of the archives using GoogleGroups should give you any previous
hits on that error:

http://groups.google.com/group/micr...ork/topics?hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8

Why did you change the target platform to CE5? Seems like you should be
able to use the same EXE as you did for Pocket PC (what version of PPC,
too?), with no problems.

Paul T.

Hi all,
I am new to the mobile world. I am developing a smart device
application which should run on both pocket pc and win ce 4.2.
So far the application is running fine on my pocket pc device. Now I
want to make it run on my win ce device.

I have installed .NET CF 2.0 SP 1 on my device. Changed the target
platform for the project to Win CE 5.0. Once I deploy my application to
the device and double click on the app it throws an error saying "not a
valid win ce application".

Any help is much appreciated.

Thanks,
Rakesh
 
R

Rak

<kicking self in the butt>
Thanks so much Paul. that fixed it. Silly me :)

-Rakesh

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:[email protected]...
That device runs an x86 processor? No! It's running a PXA255, which is
an ARM processor. You're installing the wrong version of the Compact
Framework...

Paul T.

Rak said:
This is what I have done.

1. Uninstalled all the previous versions of CF

2. Downloaded and installed CF v2.0 SP 2 redistributable from
http://www.microsoft.com/downloads/...2F-07B5-4A8C-8A44-B4E1B196D5C0&displaylang=en

3. Copied cab file C:\Program
Files\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\wce400\x86\NETCFv2.wce4.x86.cab
to the device and installed it on the device.

4. copied and installed EN string resource cab from
\diagnostics\System_SR_ENU.CAB ( The remove programs menu in the device
at this point has 2 entries: "Microsoft .NET CF 2.0" and "Microsoft .NET
CF 2.0 ENU-String Resource"

5. Opened my VS 2005 project (target platform pocket pc 2003, unchecked
deploy latest framework in project properties). Built and deployed the
project to device.

6. Ran the application from the device - "Not a valid Windows CE
application". :(
Even tried copying the exe from pocket pc device, but same error.

Any idea?

Thanks a lot
Rakesh



"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
DOT com> wrote in message news:[email protected]...
.NET CF 2.0SP1 is required for CE4.2, although SP2 should work, also.
If you've found and installed .NET CF 2.0 (exactly), then you should
update with one of the service packs, yes.

Paul T.

Thanks Paul.
Both are Symbol devices.

Pocket PC v 4.20.0
Processor: Intel PXA255
Device: Symbol MC9000W

Win CE v 4.2
Processor Intel PXA225
Device: Symbol MC9060

i copied over the same exe from the pocket pc device to the other one,
but the same error.

I saw a post on the groups that said CE 4.2 devices are not supported
by CF v2 but only by CF v1 sp2. Is that true?
i read elsewhere that v2 sp1 supports CE 4.2 devices.

Thanks,
Rakesh

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
DOT com> wrote in message
I've never seen that particular response that I can recall. A quick
search of the archives using GoogleGroups should give you any previous
hits on that error:

http://groups.google.com/group/micr...ork/topics?hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8

Why did you change the target platform to CE5? Seems like you should
be able to use the same EXE as you did for Pocket PC (what version of
PPC, too?), with no problems.

Paul T.

Hi all,
I am new to the mobile world. I am developing a smart device
application which should run on both pocket pc and win ce 4.2.
So far the application is running fine on my pocket pc device. Now I
want to make it run on my win ce device.

I have installed .NET CF 2.0 SP 1 on my device. Changed the target
platform for the project to Win CE 5.0. Once I deploy my application
to the device and double click on the app it throws an error saying
"not a valid win ce application".

Any help is much appreciated.

Thanks,
Rakesh
 

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