I try to setup open gl on a c++ builder TForm, i have found some code trow internet by they don’t run.
Some one can halp me?
It’s simple:
Just create the form. On the constructor (on in the OnCreate event) set the pixel format, create the opengl render context and make it current.
You need to remember to use this->Handle for the window handler and this->Canvas->Handle for the device context handler.
If you have any more question about working with opengl in BCB5, don’t hasitate to ask.
you can e-mail me to Gaviyota@hotmail.com