iNTERFACEWARE Products Manual > Installing and Using Chameleon > Language API Documentation > C++ Support > Troubleshooting C++ Issues in Unix and Windows > Unix/Windows Issues > C++ Programs Terminate with Abnormal Error |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
This error typically occurs when customers write a "Hello World" type C++ application like this:
When the program runs, it produces an unfriendly error message:
An exception is being thrown (as shown above). It's really important to put the try/catch block around the code to catch the exception. For example:
When a try/catch block is correctly position around the code, your application will output a more friendly error message that accurately explains the problem. The most common errors occur when mandatory environment variables are not set in Unix. For more information, see the following sections: |