PocketMatrix forums

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

CGapiDisplay::OpenDisplay( ) incorrect on WM2005 device

elevenseventeen · 11 Nov 2006, 18:06 UTC
ENVIRONMENT: HP iPaq WM 5.0 device. Running simple.exe or minimal.exe (or any other exe) that ship with GD - built either for PPC WM 5.0 for PPC 2003:

PROBLEM: OpenDisplay() returns surface of width=240 and height=320 when the device is in landscape mode, which is backwards. When the device is turned to portrait, then the surface returned is h=240 w=320, which is backwards again.

It seems that GD is not determining device dimensions accurately. Unfortunately, I cannot force the display to be a certain size like I can on Stationary PC.

Is this is known issue?

Thank you.
elevenseventeen · 11 Nov 2006, 18:13 UTC
MORE INFO: I forgot to note that the Windows GetSystemMetrics() call returns the correct dimensions in all cases.
Hello,

Exactly what device is it?

Sincerely
Johan
elevenseventeen · 12 Nov 2006, 16:48 UTC
It is an HP iPAQ rx5915 Travel Companion (seen here):
http://tinyurl.com/vylrw

ADDITIONAL INFO: I have seen OpenDisplay() work correctly on at least one other WM2005 device (the MDA).

Thank you, George
Hi George,

Thanks for the info. Do you use a preproduction unit or one you bought in a store? The 5915 had some issues with their demo units and maybe this is another issue that might have been fixed for release?

If it is indeed a production unit I'll look into it right away.

Sincerely
Johan
elevenseventeen · 17 Nov 2006, 03:17 UTC
This is indeed a production unit. ROM version 1.00.03. HP confirmed for me that it is production level. I have seen some strange behavior using Direct3D on the device as well though. I have 2 of these devices, same ROM version, same GD problem.

Thanks for your assistance, George
elevenseventeen · 21 Nov 2006, 19:20 UTC
Any update for this? Seems like a real problem on a production device to me.

Hopefully it's the device but can we confirm this somehow?

Thank you, George