Archived

This topic is now archived and is closed to further replies.

TrueKnight42

timeGetTime

Recommended Posts

TrueKnight42    122
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.

Share this post


Link to post
Share on other sites
Parveen Kaler    122
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.

Share this post


Link to post
Share on other sites