Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Mmsystem.h.
  Library: Use Winmm.lib.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

解决方案 »

  1.   

    谢谢关注!这些我在MSDN里都找到,看过了。我在用到timeGetTime函数的.cpp文件的开头加入了一下代码
    #pragma comment(lib,"Winmm.lib")
    #include "Windows.h"
    #include "Mmsystem.h"
    我用的是Win 2000,VC++6.
    是否会有其他方面的问题,出错信息:SamDemoView.cpp(248) : error C2065: 'timeGetTime' : undeclared identifier
      

  2.   

    #define STRICT#include "stdafx.h"
    #include <windows.h>
    #include <mmsystem.h>
    //#include <tchar.h>
    #include <stdio.h> 
    #include <stdarg.h>
      

  3.   

    谢谢!但还是不行。一样的error C2065: 'timeGetTime' : undeclared identifier 
      

  4.   

    没有真正包含lib库,或者你没装DirectX库