xiangzhong 发表于 2006-5-16 22:45:00

一个让我头痛的问题:arx调试正常,直接加载出错

<P>我做的一个arx, 选的是 shared mfc模式, 我在调试运行时打开cad,加载我的arx,然后运行,一切都正常</P>
<P>&nbsp; 但是我直接打开cad,然后加载我的arx,调用注册的命令时,出现问题了:</P>
<P>&nbsp; Program:H:\debug\acad.exe&nbsp;&nbsp; <BR>&nbsp; File:fgets.c&nbsp;&nbsp; <BR>&nbsp; Line:60&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp; Expression:str!=NULL&nbsp;&nbsp; <BR>&nbsp;For&nbsp;&nbsp; information&nbsp;&nbsp; on&nbsp;&nbsp; how&nbsp;&nbsp; your&nbsp;&nbsp; program&nbsp;&nbsp; can&nbsp;&nbsp; cause&nbsp;&nbsp; an&nbsp;&nbsp; assertion&nbsp;&nbsp; <BR>&nbsp; failure,see&nbsp;&nbsp; the&nbsp;&nbsp; Visual&nbsp;&nbsp; C++&nbsp;&nbsp; documentation&nbsp;&nbsp; on&nbsp;&nbsp; asserts.&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp; (Press&nbsp;&nbsp; Retry&nbsp;&nbsp; to&nbsp;&nbsp; debug&nbsp;&nbsp; the&nbsp;&nbsp; application)&nbsp;&nbsp; <BR>&nbsp; 然后就是终止、重试、忽略三个该死的按钮:(&nbsp;&nbsp; <BR>&nbsp; 而且这个fgets.c是怎么回事,偶没有这个文件啊&nbsp;&nbsp; <BR>&nbsp; 谢谢大虾们了 ,,,,真是奇怪啊!!!</P>
<P>&nbsp;&nbsp; 不胜感激哦</P>
页: [1]
查看完整版本: 一个让我头痛的问题:arx调试正常,直接加载出错