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


This topic is 5974 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Straight out of MSDN:

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