I have a WinCE 4.2 Core based Satnav device and I'm successfully
running 'betaplayer' as well as my own 'gosmore' application on it. So
when I look at the long list of "software that (might) work", I had
high hopes that many applications will run on it, but that wasn't the
case.

There must be millions of these 'Core' devices in circulation, so I
think it will be good if developers are informed about the portability
issues. Here are some of the things I discovered :
1. Don't use the MultibyteToWideChar() supplied by the operating
system, because CP_UTF8 isn't supported on all devices. Use mbstowcs()
or the functions from ConvertUTF.c/h (unicode.org) instead.
2. Don't include or use aygshell.h
3. Using SipShowIM() is OK.
4. Some touchscreenless devices like the SmartPhone emulator doesn't
allow navigation of modeless dialog boxes.

Perhaps I can put all these things up on a project wiki some where ?

Getting my program to correctly run in fullscreen mode on all devices
is also a bit tricky : I use CreateWindow() with WS_DLGFRAME and
CW_USEDEFAULT, CW_USEDEFAULT and then assume the window has
GetSystemMetrics(SM_CXSCREEN) by GetSystemMetrics(SM_CYSCREEN) pixels.
It works on some devices. On others, there is always something in the
way (taskbar?).

I'd love to hear if other members on the list is interested in older
versions of Windows CE Core.

Regards,
Nic

-------------------------------------------------------------------------
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