• Advertisement


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

timeGetTime() & MFC

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