There is a way/method to programatically know if OpenGL is installed and available ?
I've fall in case where end-user had installed W10 with default svga driver froms MS but not the SiS Motherboard GPU drivers.
At first sight all was working: video, directx, etc. but MS don't install OpenGL so my GLScene based program crash at loading stage. Was hard to understand the reason of issue, so I would like to test if opengl is available just at first lines of code before to load glscene based forms.
Thank you very much !!!
Last edit: shine world 2018-04-05
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Program is growing every day.
In next month I will finish the simulator part so can be full used also without CNC, also to learn g-code or evaluate a final work.
There is a way/method to programatically know if OpenGL is installed and available ?
I've fall in case where end-user had installed W10 with default svga driver froms MS but not the SiS Motherboard GPU drivers.
At first sight all was working: video, directx, etc. but MS don't install OpenGL so my GLScene based program crash at loading stage. Was hard to understand the reason of issue, so I would like to test if opengl is available just at first lines of code before to load glscene based forms.
Thank you very much !!!
Last edit: shine world 2018-04-05
Hi, in OpenGLAdpater unit you have those functions :
In your formcreate event try to use
for gettting more infos check GLInfo unit in Designtime folder or check GLInfo demo in Examples/Shader folder
Thank you very much Jerome.
Program is growing every day.
In next month I will finish the simulator part so can be full used also without CNC, also to learn g-code or evaluate a final work.
Just some video: https://www.youtube.com/user/thoth2487/videos