我用VC写的程序在本机上运行没问题
但一到其他地方的机器(系统一样为2000),但不知道为什么出现这样的错误:1:Microsoft Visual c++ Runtime Library Runtime Error     Program:E:\Program FilesCounter-strike source\hl2.exe  
     This application has requested the runtime to terminate it in an unusual way,   Please vontact the application's support team for more information
2:什么位置的内存不能为read
3:Error 
    Runtime error 216 at xxx(地址)
怎么解决?   

解决方案 »

  1.   

    winsxs文件夹下的运行时库版本跟开发环境所用的版本不匹配,需要从开发环境中复制正确的运行时库DLL
      

  2.   

       我是在程序中加个定时器,调用了几个API :(FindWindows 和 FindWindowsEx ,CloseHandle)后,编译完成后再到别人机器上就出现了这个几个问题
      纳闷………………
      寻求大家的帮助
      也很感谢以上朋友给予的帮助,谢谢了
      

  3.   

     估计需要调某个DLL, 而新的机器上没有, 或者路径配置问题, 楼主最好到新的机器上在bulid一下.
      

  4.   

    但是,我是在调用了FindWindows  ,CloseHandle,FindWindowsEx    这三个API后,在到别人的机器运行后,是在程序退出的时候,就出现了以上几个问题的