Drawing lines with OpenGL

I want to draw a simple plain 2D line between two points in a window with VC++ in windows 95. There's no need for anything fancy... but the only requirement is that it has to be very fast and I mean fast. I have tried windows API and the result is moderate. I was wondering if OpenGL can do the same in a faster speed. I would appreciate if someone gives me the source code to draw 2D lines with openGL. I would prefer not using matrices, it eould be better if the line can be crawn by providing two points or by providing only one point and drawing the line form the current position.
Also, can anyone suggest any better method of performing the task?

(A rather long question, isn't it?)
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You can vizit www.codeguru.com and
get source code for valid initialization
of OpenGL under Win32.
As concerns lines drawing the code is very simple

glClear(GL_COLOR_BUFFER); //clear screen
glColor3f(1.0,1.0,1.0);//set color
      glVertex2f(x0,y0);//set begin point of line
      glVertex2f(x1,y1);//set end point of line


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.