Jump to content
  • Advertisement

Archived

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

Scint

timeGetTime() & MFC

This topic is 5114 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

I am having trouble with timeGetTime() (I do not need the performance counter in this case) and MFC. In my Win32 projects, I could just use the winmm.lib and could call timeGetTime() fine. But now I drop my class into an MFC application and it declares timeGetTime() as an undeclared identifier. I did remember to include the winmm library into the project. EDIT: aha... I found the problem was that I needed to #include <Mmsystem.h> in StdAfx.h instead of the class's own .h file... at least that seems to have solved the problem. [edited by - Scint on May 25, 2004 1:18:47 PM]

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!