wince5.0中碰到的致命错误:0c000001c问题

来源:互联网 发布:js获取select的option 编辑:程序博客网 时间:2024/06/05 23:51

    这两天碰到一个奇怪的问题。在我这边正常的程序,当点击两个按钮时,在客户那边就会出现0xc000001c致命错误。
    当点击这两个按钮的时候,会创建“打开文件对话框”以及“保存文件对话框“。两边的运行环境,除了我这边是启动了explorer,客户那边没有启动桌面外,其它是一样的。
    google ”wince 0xc000001c“之后,发现一篇帖子里面对此有所提及:
    The reason for which the callstack is messed up is that the exception is
    raised in the middle of a PSL call and calling conventions are not
    respected in PrefetchAbort().
    This can happen for example when trying to call the GWES before it is
    loaded.
    To diagnose the problem, you should find the offending calling function at
    pth->pcstkTop->retAddr (in the context of the exception).
   
    gwes是wince的图形库,explorer等都依赖此。
    难道是对话框控件依赖explorer?我把注册表中explorer启动项删除后,发现果然也出现了同样的错误。
    看来确实是因为explorer未启动引起的错误。不过解决办法还要另想了。