Windows NT/2000/XP: Included in Windows NT 3.1 and later.
Windows 95/98/Me: Included in Windows 95 and later.
Header: Declared in Mmsystem.h; include Windows.h.
Library: Use Winmm.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT/2000/XP. Also supported by Microsoft Layer for Unicode.
My guess is you didn’t link in Winmm.lib… Now was that so hard?
Originally posted by mike55:
[b] Am a beginer with OpenGL, so my question is: how do you link in Winmm.lib??
[/b]
Obviously a beginner to C/C++ too. Linking libraries, and Winmm.lib have nothing to do with OpenGL. Linking libraries is compiler specific (The above posts already tell you how to do this with VC++), and Winmm.lib is a Microsoft library, which in no way relates to OpenGL.