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?
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.