The information in this article applies to:
SYMPTOMSWhen compiling a C++ program that uses the TRY and CATCH macros to implement exception handling, the compilation fails with the following error message: With Visual C++ 32-bit Edition, the following error is generated:
CAUSEA CATCH (or AND_CATCH) block is not closed with the END_CATCH macro. The CATCH macro creates a code block that is to be terminated by the END_CATCH macro. RESOLUTIONModify the program code to add the END_CATCH macro to the exception handling code. MORE INFORMATIONSample Code
Additional query words: 8.00 8.00c 9.00 9.10
Keywords : kbCompiler kbVC100 kbVC151 kbVC200 kbVC210 kbVC400 kbVC410 kbVC420 kbVC500 |
Last Reviewed: July 6, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |