development for PockPC 2003 and WinCE4.2

G

Guest

Hi,
I have currently developed a software for running on PocketPC 2003. However
we now have a new device and is running WinCE 4.2 .NET.

I was able to change the platform of our CF 2.0 to winCE 5.0 and installed
CF2.0 SP1 beta on the device and it works no problem at all.

However it has now come to a "code maintenance" issue. Does that mean i must
have 2 separate projects now that i have to maintain? in which they have the
exactly same coding, but with differernt screen layout?

Any suggestion that I should be doing to keep the source code in one place
but can applied to both PocketPC and WinCE platform like in my situation?

Any suggestion is appreciated, Many thanks.
Jon
 
F

Fredrik Ree

Having the same 'problem' here, with a codebase that targets both PPC
and Windows CE .Net 4.2.

I have noticed that the only GUI adjustment I needed to do was for forms
that had a main menu. On PPC devices, the menu bar is at the bottom, on
CE it's at the top of the form, which means it 'steals' 24 px from the
top of your form.

What I did was to compact the contents of the form to free the 24 px at
the top.

On PPC, the result will be an empty space you can fill with your company
logo, app name or whatever. On CE, this blank space will be hidden by
the menu bar.

If your code doesn't rely on native APIs in PPC 2003 not present in CE,
you should not need to have separate codes.

By the way, .Net CF2 SP1 Beta is supported on CE .Net 4.2 (no need to
upgrade):)

/Fredrik

Jon skrev:
 
G

Guest

yes.. I have the mainMenu problem difference of winCE and PPC.... duno if i
can move the winCE mainMenu to the bottom........but i think not....

I also has problem with the Tab controls....the Tabs are now at the TOP in
winCE, but whereas it was at the bottom in PPC..

But the main problem i have is the design of the winCE, since my PPC is only
about 240x320, but the winCE is running 480x640, which is alot bigger.

This mean i will have to increase all the font,label and other stuff etc...

I just wonder if I can put all the common source code class into a .dll? and
have 2 project which then use it? Therefore I could use the Designer mode in
VS.NET 2005.

i wonder is that the right way of doing it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top