PocketMatrix forums

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

GapiDraw on WM2003 or higher

Does anyone know if GapiDraw will use the ExtEscape function instead of the gx.dll to obtain the framebuffer on Windows Mobile 2003 or higher devices? Just curious since it removes one thing from the list of distributables. (gx.dll, that is)
Another quickie... I'm wrapping the FillRect function, and with the colours I'm passing it, it's coming throught as BGR. In the documentation, however, it seems to indicate it should be RGB.

Should I be calling ColorrefToNative for all the colours I'm passing in?
Does anyone know if GapiDraw will use the ExtEscape function instead of the gx.dll to obtain the framebuffer on Windows Mobile 2003 or higher devices?


Yes, GapiDraw will not use gx.dll on WM2003 devices and higher.

Should I be calling ColorrefToNative for all the colours I'm passing in?


Yes :)
Interestingly, I tried that, and everything seems to come out black. I experimented a bit more, and it's definately thinking the values I'm passing in are BGR. I'm a little confused as to what's going on. Is the library doing a conversion for me if it sees the value is larger than 16 bits?