There is an incompatibility between cegcc generated code and PE loader in
recent Windows Mobile 6.1.
We are investingating on this.

See post with title : [Cegcc-devel] xxx is not a valid Pocket PC
application if SizeOfImage>10000

Workaround is to change a key in registry :

You can add a DWORD registry entry in
[HKEY_LOCAL_MACHINE\System\Loader\LoadModuleLow] with key=YourDllName.dll
and value=1 [HKEY_LOCAL_MACHINE\System\Loader\LoadModuleLow]
"YourDllName.dll"=dword:1 




On Wed, 10 Sep 2008 12:09:06 -0700, Eric House <[EMAIL PROTECTED]> wrote:
>> > I have been attempting to get some code working on a Windows Mobile
>> > 6.1 device using the arm-wince-cegcc toolchain.  All the pplications I
>> > build result in the error message: "... is not a valid Pocket PC
>> > application."  So, I started testing with the provided sample exe:
>> > http://cegcc.sourceforge.net/docs/examples/menu-resource.exe.  It does
>> > not look like my current toolchain compile, or my build configuration,
>> > for two reasons:
>> > 1) I tried running the menu-resource.exe and I get the same error on
>> > Windows Mobile 6.1 physical device.
>> > 2) I get the same error when I run menu-resource.exe on the Microsoft
>> > Windows Mobile 6.1 emulator image.  When I run the application on the
>> > Windows Mobile 6.0 emulator image, the menu-resource application runs
>> > correctly.
>> > 
>> > Any ideas as to where the problem may be would be greatly appreciated.
> 
> FWIW, I'm not seeing any problems running xwords (see .sig) on 6.1
> emulator images.  I have not tested on an actual device, but have not
> had any reports of problems.
> 
> --Eric
>


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to