The path of CRT0.C and the section of AUTOEXP.DAT

When I debug a program at the end line, a Visual C++ dialog appears and shows "please enter the path of CRT0.C " .My classmates let me try to edit AUTOEXP.DAT (COMMON/MSDEV98/BIN/AUTOEXP.DAT) by performing the following steps:

1.add a section: [ExecutionControl]
2.add a line : wWinMain=NoStepInto
3.Restart Visual C++ 6.0

However,the dialog still appears .
Could you give me some suggestions Thanks!




You've step out of your program so the debugger is trying to find the CRT code that always wraps the execution of a C or C++ program. This is nothing to do with wWinMain (which, if it is in your program, is your main function - so you would be stepping out of this function not into it). I know this may seem trite but the best advice I can give you is don't do this - if execution has reached the end of your program then you can finish the execution by using F5 instead of using one of the step commands. About the only time you should need to debug into ther CRT is if you are using C++ and you are interested in seeing how destructors for global objects are executed.




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值