Jump to content
  • Advertisement

Archived

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

TrueKnight42

timeGetTime

This topic is 6192 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
Advertisement
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
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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!