PocketMatrix forums

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

Warning : Today plugins and SIPs for WM2003SE

This is a warning for all developers working on Today plugins and/or additional SIPs for WM2003SE...

If you use a HighDPI PDA with WM2003SE (VGA screen, like the Toshiba E800, and the soon to be released Asus A730), then any application is either "pixel-doubled" or uses specific high quality large bitmaps and icons, in order to make the PDA easier to use. All of this consumes large amounts of memory (4 times as much generally). For most applications, this is not a problem.

The problem is that for Today plugins (like Battery Pack or PI Today) and for additional input methods ie SIPs (like Calligrapher, Resco Keyboard or MessageEase), the GDI resources are all taken from the main system process. And starvation can happen quickly, resulting in plugins disappearing or input methods not loading (plus a large variety of side effects up to PDA hanging and soft-reset).

This can be quickly reproduced by anyone with a HiDPI (VGA) PDA : just load some graphical-intensive Today plugins, add an extra SIP or two, and you will be able to see the problem of the additional SIPs not loading, or even the Today plugins disappearing after a soft-reset.

If you are working on such an application, it would be good to either think of a workaround if it's possible, or to contact Microsoft asking for a patch to the OS...

Check here for more information by the developer of Calligrapher...

Hoping this helps.
Interesting problem. Baseball Today is probably the most graphically intensive Today Screen plugin to date, so it will be interesting to see how well GapiDraw handles the situation. I don't have access to one of the new WM2003SE devices yet, but will definately look into it.
I don't think the OS is running out of GDI resources. That makes no sense. GDI resources are things like the number of device contexts, etc. Just because bitmaps are larger doesn't mean any more GDI resources are required - that just consumes more plain-jane program memory. So something else must be the problem.

Dan East
Update : the guys at Phatware did track the problem down, and it's not what they thought at first...

Here's what they said :

Previously I sated that CalliGrapher's SIP has bigger bitmaps under VGA. I was wrong, sorry. CalliGrapher requires the same resources under full-VGA as on other Pocket PC. More to it, we have created a bogus SIP that practically does not do anything and uses minimal system resources, but it causes the same problems (won’t load) with certain today screens installed.
Our conclusion is that this is a system bug and has to be addressed by Microsoft in the future releases of OS. We will file the support request regarding this issue with Microsoft next week, because this is obviously is not CalliGrapher problem.