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.




你可能感兴趣的:(c,function,dialog,Path)