|
|
|
MFC FAQ SNEAK PEEK Our exclusive preview of Scot Wingo's upcoming additions Q. After MSVC opens my project, it seems to take a long time to parse my files for the class information. What can I do to speed up this process? A. Check the Tools, Options, Directories tab. Go through the different directory settings, removing paths that don't belong there. -- Matt Saucier
Q. Whenever I run my program under the VC++ debugger, I see 'first chance exception' messages which I don't usually see when running in a non-debug environment. A. Whenever an exception is raised, the debugger will display a "First-chance exception" message. While it is distracting, it is not a problem if the exception is handled . . . As an example, create a trivial dialog-based application with a pushbutton. In that pushbutton's click handler, place the code:
TRY
{
CFile::Remove("notaf.ile");
}
CATCH
{
// ignore
}
END_CATCH
When you run the program and click the button, you will get a
first-chance exception message, but the program will continue
to run without error.
Comments? Speak up! | Past FAQ Tips | Latest FAQ Document | Home | |