PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Can i run PPC2003 exes on WM 5 and up

Using the helloworld pre-packaged exe in the edgelib sdk, the exe built with the PPC2003 SDK does not run well on my WM 5.0 device and does not even fully start up on my WM 6.0 device.

It seems that the exe built with the WM 5.0 SDK does work on 5 and 6 though.

Can EdgeLib apps built with the PPC2003 SDK run correctly on WM 5 and higher? If so, how can i get this working? If not, am I correct that I have to provide separate builds to support both levels of WinMobile?

Thank you
Hi,

It should be possible to use one build for 2003 and 2005/2006 devices. Perhaps the executable is out of date and needs to be rebuild. You should even be able to run a Windows Mobile 2002 build correctly on all new devices.

If the new build still doesn't work, can you tell me the Pocket PC models you're testing on?
Looks like I have to install SP1 huh?

1. While this topic is being discussed, many of the samples do not build in the SDK - especially debug configurations.


2. It would be nice if more of the sample projects came with sample for the PPC configuration too. Just a suggestion :)

Thanks!
Hi,

Yes, you need service pack 1 for Visual Studio 2005. Can you tell me why the samples don't build? Do you get an error message?

The other samples use an EDGELIB Builder workspace to target most supported platforms. Perhaps you can try building through the EDGELIB Builder.
1. C:\projects\Edge\samples\Fountain\workspace_pc_vc2005\Fountain.sln
does not build in Debug because:

>LINK : fatal error LNK1104: cannot open file 'libc.lib'

The Release configuration does build ok though.


2. The helloworld SP 2005 sln does not build because
1>LINK : fatal error LNK1104: cannot open file 'edgerender.lib'

The Release build does build ok here too.

3. On a TMobile Dash phone (which is WM 5), I cannot run any exe built with the SP2003 SDK, meaning the app doesnt do anything at all. But the exe built with the WM 5.0 SDK works.

4. There is a similar situation for PPC 2003 apps running on a TMobile MDA that has a swivel screen. The PPC2003 apps do start up here but do not display correctly.

Are 3 & 4 known issues? They both happen with the helloworld sample.

Thanks
Hi,

Issues 1 and 2 are related to the project settings. In the release build they are properly set, while in the debug build they are not configured yet. To get rid of the libc error you can disable it in the linker settings, add libc to the ignore specific library list. To be able to link edgerender, add the EDGELIB library path to the linker settings.

Issues 3 and 4 shouldn't appear as EDGELIB has been built to be forward compatible with these devices. The error could be caused by the use of GAPI. Disable GAPI by adding a resource script, and adding the following line at the bottom:

Code:

HI_RES_AWARE CEUX {1} //To turn off the emulation layer
Thanks again for the help. This has solved the problem. Big relief on #3 and #4 - i was a bit worried.