I've done my own code and also used gluUnProject() to get the windows coordinates, but seems as if both my code and gluUnProject() have problems (I'm not getting the right numbers)
I also did some tests with GL_FEEDBACK with GL_2D but this gives even different numbers????
I'm plotting a single point on the screen (window under Windows 9x/NT) and trouble is, I don't know where it's going to be placed.
Has anyone figured out how to do this calculation, preferably without the use of any GL functions?