I am having the same problem as the person who wrote the comment below.  The default on my machine has the debugger exceptions already set to  "Stop if not handled" .  The exception shows up as soon as the following line is executed:
 
    parser->parse(gXmlFile);.
 
Any idea what is going on and how to eliminate the exception?  The code seems to work fine other than the exceptions and the thread exits with code 0 (0x0).
Thanks for assistance in this matter,
 
Stacy A. Blue
Aeronix, Inc.
Melbourne, FL 32901
 
From FAQs on your website:

"First-chance exception in DOMPrint.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception." I am always getting this message when I am using the parser. My programs are terminating abnormally. Even the samples are giving this exception. I am using Visual C++ 6.0 with latest service pack installed. 

Xerces C++ uses C++ exceptions internally, as part of its normal operation. By default, the MSVC debugger will stop on each of these with the "First-chance exception ..." message.

To stop this from happening do this:

  • start debugging (so the debug menu appears)
  • from the debug menu select "Exceptions"
  • from the box that opens select "Microsoft C++ Exception" and set it to "Stop if not handled" instead of "stop always".

You'll still land in the debugger if your program is terminating abnormally, but it will be at your problem, not from the internal Xerces C++ exceptions.

Reply via email to