我编写的应用程序在我的机器上可以正常运行,到别人的机器上打开就出错,两台机子都装有vc6.
错误如下:
标题: microsoft visual c++ runtime library
内容: Runtime Error! 
Program:xxxxxx(此处为可执行文件路径)
This application has requested the Runtime to terminate it in an unusual way.please contact the application's support team for more information. 
系统xpsp2,环境vc6,
急,请各位帮忙.

解决方案 »

  1.   

    楼主看看自己的程序是不是已经打包成RELEASE了,或者缺少VC++运行库,比如MFC71.DLL这样的DLL文件要和程序在一起
      

  2.   

    1)是否使用其他的ocx,这些ocx是否已经注册?
    2)是否使用动态库,这些动态库是否注册?也就说需要注册东西是否注册(包括:0cx,dll,com,odbc等等)
    3)使用TRACE调试输出,确定问题的原因。
    4)如果可以直接带环境,则直接带着环境,看看哪里出现了错误。
    5)借助于*.pdb,*.map等查找错误的原因。
    6)借助其他的调试手段,如:记录程序的关键运行点,输出调用堆栈信息等等,也可以查找到相应的原因。
      

  3.   

    This application has requested the Runtime to terminate it in an unusual way.please contact the application 's support team for more information.很象控件没注册,另外需要注意的是VC6的sp版本是否一致