Mouse with Perspective Transformation

How can i get real mouse coor
when i am using perspective transformation?

Use the gluUnProject procedure. This is the format:

int gluUnProject(
GLdouble winx,
GLdouble winy,
GLdouble winz,
const GLdouble modelMatrix[16],
const GLdouble projMatrix[16],
const GLint viewport[4],
GLdouble * objx,
GLdouble * objy,
GLdouble * objz
);