Problems setting my viewing volume

I want a viewport that is 800x600 (not pixels mind you, just those OpenGL magical units), with (0, 0) at the top left of the screen and (800, 600) at the bottom right. I don’t care about the depth that much, since I’m just doing 2D stuff. I’m having a hard time doing this…Here’s what I tried and didn’t work:

(clipped anything not relevant)
glFrustum(0.0, 800, 600, 0.0, 0.1, 100.0);

and in each drawing loop (after clearing and loading the identity matrix):

gluLookAt(0.0, 0.0, 5.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0);

I then tried just drawing w/ out any transformations a square, and can’t see it. I removed the gluLookAt call and same problem. How would I set things up? Thanks a bunch for your help.

Did you call glViewport(0,0,800,600)?
And try call glFrustum(0,800, 0, 600, 0.1, 100.0 ) instead. I haven’t try it myself, but
I think it should work.