>>>>>>
I’m programming in borland C++ 4.52 $ vc++6.0. Both give me the same error for gl.h
Error …\BC45\INCLUDE\GL\GL.H 832: Declaration syntax error
Error …\BC45\INCLUDE\GL\GL.H 833: Variable ‘WINGDIAPI’ is initialized more than once
<<<<<<<<<<
all that means is that WINGDIAPI is defined more than once, which is odd. I programmed in Borland C++ 4.52 and never saw that message.
Look inside gl.h for WINGDIAPI and if it’s redefined, remove it. It should only be defined in windows.h