Home > Archive > Smartphone Developer Forum > March 2006 > VS2005 + WinCE5 - Not a Valid Windows CE application error?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
VS2005 + WinCE5 - Not a Valid Windows CE application error?
|
|
|
| Hi all
Up until last w I was using the beta of VS2005 beta 2 to do some
test porting work on Window Mobile 5 platform without any problems.
Then suddenly I'm getting the "Not a valid Window CE Application
error" when I run any newly compiled exe's - (all of which work fine
under the emulator)
old compiles still transfer across and work fine, so it's nothing
strange with ActiveSync
any ideas?
I've tried unintalling everything and re-installing everything, and
even installed in all fresh on a different PC with the same results
In fact that seemed to make things worse as it then had problems even
knowing the targetting of the device, and even the samples wouldn't
compile straight with tinkering with the settings (a definate sign
something is badly wrong)
I was about to get the VS2005 properly now it's out, but I'm somewhat
hesitant until I can understand what's suddenly happened.
TIA
bob
| |
| Ginny Caughey [MVP] 2006-02-28, 7:05 pm |
| bob,
The rest of us got rid of beta 2 as soon as the RTM version of VS 2005 was
available to us, so I doubt we'll be able to be much help. I'd suggest
installing the RTM version of VS 2005 on a clean machine and see if you
still have the problem.
--
Ginny Caughey
..NET Compact Framework MVP
"bob" <bob@freeserve.com> wrote in message
news:2uj802l8dk71dt2he7fci0r5pmbetmv1cd@
4ax.com...
> Hi all
>
> Up until last w I was using the beta of VS2005 beta 2 to do some
> test porting work on Window Mobile 5 platform without any problems.
>
> Then suddenly I'm getting the "Not a valid Window CE Application
> error" when I run any newly compiled exe's - (all of which work fine
> under the emulator)
>
> old compiles still transfer across and work fine, so it's nothing
> strange with ActiveSync
>
> any ideas?
>
> I've tried unintalling everything and re-installing everything, and
> even installed in all fresh on a different PC with the same results
>
> In fact that seemed to make things worse as it then had problems even
> knowing the targetting of the device, and even the samples wouldn't
> compile straight with tinkering with the settings (a definate sign
> something is badly wrong)
>
>
> I was about to get the VS2005 properly now it's out, but I'm somewhat
> hesitant until I can understand what's suddenly happened.
>
> TIA
>
> bob
| |
|
| bob wrote:
> Up until last w I was using the beta of VS2005 beta 2 to do some
> test porting work on Window Mobile 5 platform without any problems.
>
> Then suddenly I'm getting the "Not a valid Window CE Application
> error" when I run any newly compiled exe's - (all of which work fine
> under the emulator)
VS builds to a THUMB target by default - which doesn't work on 2003
phones. change the linker /MACHINE option to ARM.
Riki
"The trouble with the world is that the stupid are cocksure and the
intelligent are full of doubt." -- Bertrand Russell
ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
AbstractStart for Smartphone :
http://homepages.inspire.net.nz/~gambit/AbstractStart/
Latest Betas have WM5 layout and speed dial support
| |
| The PocketTV Team 2006-03-05, 7:57 am |
| does THUMB work on WM5 devices?
i hear that THUMB code is smaller and runs faster, is that correct?
"riki" <see_my_home@page> wrote in message
news:Otx%23vxQPGHA.1028@TK2MSFTNGP11.phx.gbl...
> bob wrote:
>
> VS builds to a THUMB target by default - which doesn't work on 2003
> phones. change the linker /MACHINE option to ARM.
>
> Riki
>
>
> "The trouble with the world is that the stupid are cocksure and the
> intelligent are full of doubt." -- Bertrand Russell
> ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
> AbstractStart for Smartphone :
> http://homepages.inspire.net.nz/~gambit/AbstractStart/
> Latest Betas have WM5 layout and speed dial support
| |
|
| The PocketTV Team wrote:
> does THUMB work on WM5 devices?
>
> i hear that THUMB code is smaller and runs faster, is that correct?
it's smaller, havn't tried a speed test myself.
riki
----
"Sweater, n.: A garment worn by a child when its mother feels chilly."
By Night:
ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
AbstractStart for Smartphone :
http://homepages.inspire.net.nz/~gambit/AbstractStart/
Latest Betas have WM5 layout and speed dial support
| |
| Scott Lacy Salley 2006-03-23, 4:13 am |
| In article <#jSTHYKTGHA.5264@TK2MSFTNGP10.phx.gbl>, riki wrote:
> The PocketTV Team wrote:
>
> it's smaller, havn't tried a speed test myself.
>
> riki
I've never heard that it is faster, but it probably is for certain cases.
THUMB is generally used when space is more important than the speed
sacrificed ; since many PDA applications aren't limited by CPU speed the
tradeoff is often acceptable. I think I heard somewhere that the *average*
THUMB program is generally about 75% the size of the equivalent ARM program;
even though each THUMB instruction is half the size of ARM, you have to use
more of them often enough that you do not get a 50% reduction in code size.
Note that this is only reducing your *code* size. So you can fit more programs
on the device, though you may not be able to run many more simultaneously.
--
Scott Lacy Salley <scottlacysalley@comcast.net>
formerly Scott Lacy Smith
|
|
|
|
|