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?