PocketMatrix forums

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

PF on smartphone

Hi,

I am trying to write an app to be used on smartphones. I'm using EVC++ 3 along with smartphone 2002 SDK and PF 0.8.1. The problem is that when I want to compile the app and test it on the emulator it shows an error message "atlbase.h: No such file or directory" in PF's def.h.

Am I using the wrong header file ? Please help.
I don't know if it's the right thing to do, but I just added the include and lib directories to the directory options - after the "Smartphone 2002" entries. I thought someone had suggested doing that, but I can't find the post now. And that was for the actual device - not the emulator - but it should be simialar.

i.e.
C:\Windows CE Tools\WCE300\POCKET PC 2002\ATL\INCLUDE
C:\Windows CE Tools\wce300\Pocket PC 2002\lib\arm
(I guess that would be x86 instead of arm for the emulator)
You mean in the EVC 3 project settings ? Please elaborate.
Hi,

It works. Thanx. But is it possible to use orientation rotation ?

My app on pocket pc rotates 90 deg but it doesn't work on smartphone. When I change the orientation to normal then it works fine.
check the resolution returned from display->getHeight(), etc, to see if its correct.

If you're doing any surface lock stuff, the could easily cause a problem (pitch, etc)

But there may be something else going on since there is a thread about running the blit demo on a smartphone - and their solution was to remove the ROTATE90CC flag.