C services and IS crash

I am working on a service that uses a C API (version 6.0 on a windows platform). I have noticed that whenever there is an exception in the C code, the IS crashes. I have been able to modify my code and avoid this, but I am curious to know if there is any way that IS can handle this without crashing. I want IS to continue running even if the C code throws an exception, so that other services can continue to run.

Any ideas or help in this regard will be greatly appreciated.