Change set 919

    - John

On 5/3/2011 10:33 AM, Florian Echtler wrote:
Hello again,

this took *a lot* longer than I hoped, but here's a patch that hopefully
fixes the cross-compilation issue by checking for the MT functions at


On Fri, 2011-03-25 at 09:36 +0100, Florian Echtler wrote:
Hello everyone,

On Thu, 2011-03-24 at 19:32 +0100, John Tsiombikas wrote:
On Thu, Mar 24, 2011 at 08:04:11PM +0200, Eero Pajarre wrote:
Specifically my program which I compile with mostly static linking on
Windows 7 no longer works on Windows XP. (the Freeglut library is also
compiled on Win 7)
This is because the multitouch functions are not available in
user32.dll in XP as they apparently are in later OS versions.
Put that down as my mistake; I absolutely forgot about

So in that case they should be loaded at runtime with
LoadLibrary/GetProcAddress. That should be a trivial fix.
AFAICT the offending functions are:


LoadLibrary probably isn't even necessary as user32.dll will always be
loaded anyway. So this should be a matter of something like

fghRegisterTouchWindow =

I'll try to integrate this today and send a new patch.

------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution.
_______________________________________________ Freeglut-developer mailing list