错误内容为:Project Project1.exe raised exception class EOSError with message 'A call to an OS function failed '.Process stopped.Use Step or Run to continue.认能帮我解决奖给高分.

解决方案 »

  1.   

    仔细检查一下你的退出代码,不部分应是内存释放问题,似乎是调用API的错误,最好能贴出退出的代码
      

  2.   

    'A call to an OS function failed ',好像是调用API失败,
      

  3.   

    检查一下退出时是否有调用Win32API的函数
      

  4.   

    可能它内部调用了,什么API函数,然后调用失败,