[fpc-devel] opengl unit gl on x86_64

Florian Klaempfl florian at freepascal.org
Sat Jun 24 09:17:31 CEST 2006


Mattias Gaertner wrote:
> On a x86_64 system I tried to run a program using the opengl 'gl' unit.
> 
> It failed, because the function 'glAccum' does not exist.
> Commenting that one 'solved' the problem.
> 
> Can GetProcAddress be used to load a lib function dynamically, without
> bombing if the function is missing?

Enclose it by

try
  ...
except
end;

?



More information about the fpc-devel mailing list