Page 1 of 1

PocketHAL 1.0.6 Released

PostPosted: Mar 29, 2009 @ 12:06am
by Kzinti

Strange behaviour using PocketHAL 1.06

PostPosted: May 26, 2009 @ 3:12pm
by pacomac
Ok, there could be a rational explanation for this problem, but its driving me nuts.

I have a couple of projects compiled for Windows Mobile 2003 SE (for backward compatibility) using PocketHAL 1.03. I've been testing these programs using the Windows Mobile 6 Professional QVGA Emulator specifically to test compatibility with 320x320 pixel devices as I don't have any to hand.

Using PocketHAL 1.03, I get back a screen buffer of 240x320 pixels after calling PHAL::Display::Create() (which uses the left 2/3 of the screen), but on version 1.06 I'm getting a 240x240 display which is being stretched to fill the entire display.

My projects do not have the HIRES aware flags set, and I'm passing values of dp.m_width = 0 and dp.m_height = 0 to PHAL::Display::Create(hWindow, dp).

Has anyone any ideas what is going on here? :roll:

NOTE: I've had a couple of people testing my project (compiled with PocketHAL 1.03 on the Samsung EPix i907 and it is returning 240x320 pixels. What should PocketHAL's default behaviour be on a 320x320 device?

PostPosted: May 26, 2009 @ 6:36pm
by Kzinti
What compiler / SDK are you using? More specifically, what subsystem version is used on the linker line?

If you link for Windows Mobile 6.0, then you don't need the hires flag... It will be as if it was always there.

On Windows Mobile 2003 SE, the flag needed to be added explicitly.

To answer your last question, I would expect a 320x320 screen if the hires flag is there or if you are linking for Windows Mobile 6 and above.

PostPosted: May 28, 2009 @ 12:01pm
by pacomac

PostPosted: May 28, 2009 @ 6:58pm
by Kzinti

PostPosted: Jun 1, 2009 @ 3:44pm
by pacomac

PostPosted: Jun 9, 2009 @ 11:26am
by pacomac
There is also another bug I've found in PH 1.0.6.

If I link with the PocketPC 2003 SDK or the Windows Mobile 6 Professional SDK and run on any square screen device, the touch screen co-ordinates are rotated by 90 degrees. (i.e. If I tap the top left of the screen, the result is something gets selected at the top right).

Version 1.0.5 was fine, other than the bug I reported previously. I'm not sure why nobody else is reporting this problem!!

PostPosted: Jul 10, 2009 @ 8:02am
by hrissan
We've got a problem on Samsung i780 and the same problem is even on Emulators Pocket PC 5.0 240x240, 480x480 and Windows Mobile 6 Professional 240x240, 320x320, 480x480!!!

In PocketHAL 1.0.6 on square device the screen is rotated to the side (wrong orientation), while clicks are not rotated (they are in correct orientation)! So the clicks do not correspond to picture on the screen...

PostPosted: Jul 21, 2009 @ 4:48am
by Kzinti

PostPosted: Jul 21, 2009 @ 3:45pm
by Kzinti

PostPosted: Jul 23, 2009 @ 6:22am
by Kzinti
Input orientation issue with square displays fixed in 1.0.7.