Loading OpenGL error lazarus / 70-OpenGL ---------------------------------------------------------------------- aradeonas · 2016-02-09 19:40 Hi, I have a new Laptop and with new Windows 10 and tried my old working demos and just tried to run it and its happen : QuoteA dynamic link library (DLL) initialization routine failedIt is because OpenGL loading error and I dont have clue how to solve it. I already update all drivers and windows but nothing. Any one know how can I solve this or faced it before? ---------------------------------------------------------------------- balazsszekely · 2016-02-09 20:10 I did a quick google search, that error message can occur because:   1. One of your dll depends on some other dll(s) that was not found   2. The init routine require permissions that you don’t have Since win10 is the most restrictive windows so far, I suspect the second one. You should debug the application, find the exact line which fails, then display the last system error message: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i ShowMessage(SysErrorMessage(GetLastOSError));Let's hope the error message will contain more info about the problem. ---------------------------------------------------------------------- aradeonas · 2016-02-09 21:53 Thanks, I checked that and write that code in FormCreate but it says: QuoteInvalid window handle. And then this : QuoteA dynamic link library (DLL) initialization routine failedAnd nothing, no debug info and no line detected. GLWin32WGLContext unit use 2 DLL ,OpenGL32.dll and GLU32.dll and I got both and even tried and run program in administrator rights but no luck. ---------------------------------------------------------------------- aradeonas · 2016-02-10 19:15 I installed Lazarus 1 and it works OK. It seems OpenGL units changed but I dont know what changes make this problem.