Unhandled exception with serial port issue
When an exception is unhandled in an application, an unhandled exception dialog is shown to inform the user of the issue. Because of an issue in some serial port drivers, when an unhandled exception occurs and the user exits the application, the application is not actually closed if a serial port instance is open. However, this can be worked around by enclosing the application in a global try-catch block so that all exceptions are handled properly.
Anthony Wong [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.