Advertisement

timeGetTime

Started by August 06, 2001 10:37 PM
1 comment, last by TrueKnight42 23 years, 6 months ago
Hey guys I have a quick question for you. I''m trying to use the stuff in winmm.lib in an MFC AppWizard application I can''t even get the app to try to link when I use timeGetTime or PlaySound etc etc... I include winmm.lib but it doesn''t much matter since its just an undeclared identifier. I''ve even tried including mmsystem.h, windows.h and everything... Is there some sort of trick to get this stuff to work with MFC?? Thanks in advance.
Straight out of MSDN:

QuickInfo
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in mmsystem.h.
Import Library: Use winmm.lib.

Try to include mmsystem.h to stdafx.h.
Advertisement
That did the trick, thanks. I didn''t know that I was supposed to include it IN stdafx.h I haven''t been doing this MFC stuff for long. Thanks again

This topic is closed to new replies.

Advertisement