I reinstall everything and tried a new test :
1. add lazopenglcontext
2. add OpenGLContext unit
3. type O:=TOpenGLControl.Create(self);
4. run and no problem.
5. type o.Parent:=self;
6. run and that error again.
Regards, Ara
--
http://www.fastmail.com - Accessible with your email
Aradeonas wrote:
> Hi,
>
> I have a new Laptop and with new Windows 10 and tried my old working
> demos and I tried it with Last Lazarus Trunk 1.7 and FPC 3.1.1 and just
> tried to run it and its happen :
>
> A dynamic link library (DLL) initialization routine failed
>
> It is because
> Are you sure it's in the OpenGL units initialization?
Yes.
> Can you test the Lazarus examples/openglcontrol/ demo, and see does it
crash too? Yes.
> we're using FPC OpenGL units on many platforms, including Windows 10,
and we often test with latest FPC from trunk. And everything seems to
work
> I tried to replace old Lazarus and FPC OpenGl components with new one
> and clean and recompile but problem is still there.
It seemed taht it not used new FPC OpenGL package units because they are
precompiled so I tried and delete compiled opengl units from units
folder but not Lazarus says it
Hi,
I have a new Laptop and with new Windows 10 and tried my old working
demos and I tried it with Last Lazarus Trunk 1.7 and FPC 3.1.1 and just
tried to run it and its happen :
> A dynamic link library (DLL) initialization routine failed
It is because OpenGL loading error and I dont have clue
I done two more tests: Get Lazarus 1.6 RC2 and still have problem. Copy
and recompile OpenGL package from 1.0 to 1.7 and still have problem.
So it seems problem is not because of OpenGL package.
Any idea?
Regards, Ara
--
http://www.fastmail.com - Access your email from home and the web
--