<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>I'm working on a glut app but I keep on getting the message: Error: Can't assign local procedure/function to procedure variable</p>
<p> </p>
<p>The error is at this line: glutDisplayFunc(@redrawfunc);</p>
<p>And the callback (which is declared in the same .inc file) is declared as: procedure redrawfunc; cdecl;</p>
<p> </p>
<p>I must be overlooking something obvious but I just don't see what. Any ideas?</p>
<p> </p>
<p>Regards, Darius</p>
</body></html>