run Photon API in non photon QNX environment

Hi,

I wrote a simple program using PgReadScreen() to take a snapshot and store it in BMP format (reffered qnx article 293_3). But it works only when compiled in photon environment.

My requirement is to run it in a non photon QNX environment. Can someone help me in this regard?

vaibhawa

You can use PgReadScreen() without Photon, it just doensn’t make sense otherwise.

What is you are trying to do?

I’d have thought so too, however…

Are you using 6.4.0+?

Take a look at the gf_*() routines. gf_display_snapshot() looks like a possible route to what you want. You still need to be running the graphics driver.