Re: "Not a valid pocket pc application" -- not just trying to install an exe on the pocket pc

From: Alex (acreepycow_at_yahoo.com)
Date: 11/18/04


Date: 18 Nov 2004 07:37:21 -0800

I'm sorry, I realize i didn't include nearly enough details in the
description of my problem. It is a ppc2003, i made the mistake of
using evc3.0 with ppc2002 sdk and it wouldn't even sync to transfer
the executable over, but that problem was fixed by updating to evc4.0.
I do think the problem has to do with the processor. In the pull down
menu on the main window of evc4.0 there are the options to compile for
Win32(WCE ARMV4) release and debug and Win32(WCE emulator) release and
debug. When I compile using the ARVV4 option i get the following
error:

corelibc.lib(pegwmain.obj) : error LNK2019: unresolved external symbol
WinMain referenced in function WinMainCRTStartup
ARMV4Rel/PDABot1.exe : fatal error LNK1120: 1 unresolved externals

When I build using the WCE emulator option it compiles and links fine
but i get that "not a valid pocket pc application" error when i try to
run it from the pocket pc. The pocket pc's processor is an Intel
pxa255. I read that that means i should use x86 selection because
that is the general option for all intel processors. Although x86
isn't explicit in the evc4.0 options (where it was in evc3.0), the WCE
option does link where the ARM selection fails.

Thanks again in advance.

Alex Steingart
Trinity '06
Duke University
Department of Mechanical Engineering



Relevant Pages