Re: Code Protability across Windows CE versus Windows Mobile



On 30 Jun 2005 22:21:19 -0700, "RainBow" <drvirens@xxxxxxxxx> wrote:

>Hey,
>
>Does anyone here know if the code written for WIndows CE will run
>without making any changes in the source code as it is? i.e. does the
>code targetted for Windows CE will also run on Windows Mobile?
>
>I know that Windows Mobile is based on the code base of WinCE, so
>logically it does mean that the code should be portable without making
>any chagnes. True?

A very definite maybe.

Pocket PCs use a menu structure and menu functions (SHCreateMenu etc.)
that are very different than for any other Windows CE platforms
(CommandBar_Create etc.). Pocket PC and Pocket PC 2002 will support
applications built using CommandBar_Create etc; the applications will
run in "emulation mode", with Task Bar at bottom of screen and
application menu at top of screen. But if an application built using
CommandBar_Create runs on a Pocket PC 2003, the application menu will
be invisible. I'm not absolutely sure. But I tried several methods.
I've also reported this result and no one has said I'm wrong.

I don't use MFC. But I'm pretty sure MFC apps built for Pocket PC 2000
or 2002 will have trouble on Pocket PC 2003 and newer. So I wonder
about apps built for Pocket PC 2003 running on Pocket PC 2005.
(Official name for Pocket PC 2003 is Windows Mobile for Pocket PC
2003.Similar for Pocket PC 2005.)

I regularly build for Smartphone and Smartphone 2003. But I rarely
test (we don't support Smartphone). Smartphones are different from
Pocket PCs in several ways:
1) only 2 menus, because menus are accessed via action buttons
2) no stylus or mouse


>
>-RainBow

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
500 Harrison Ave., Suite 3R
Boston, MA 02118
www.penfact.com
.


Loading