Skip navigation.
Home
The QNX Community Portal

View topic - run Photon API in non photon QNX environment

run Photon API in non photon QNX environment

Isn't the name clear?

run Photon API in non photon QNX environment

Postby vaibhawa » Tue Jan 03, 2012 3:11 pm

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
vaibhawa
New Member
 
Posts: 1
Joined: Tue Jan 03, 2012 8:55 am

Re: run Photon API in non photon QNX environment

Postby mario » Wed Jan 04, 2012 1:36 pm

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

What is you are trying to do?
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am

Re: run Photon API in non photon QNX environment

Postby maschoen » Thu Jan 05, 2012 12:55 am

mario wrote: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.
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm


Return to GUI Programming

Who is online

Users browsing this forum: No registered users and 2 guests