QNX snapshot source code


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?


Not sure what you mean by a non photon QNX environment. PgReadScreen is a photon API so if photon is non running this will obviously not work.

What are you trying to do exactly?