Minggu, 23 Januari 2011
How to turn off the exception handler that COM "helpfully" wraps around your server
Historically, COM placed a giant try/except around your server's methods. If your server encountered what would normally be an unhandled exception, the giant try/except would catch it and turn it into the error RPC_E_SERVERFAULT. It then marked the exception as handled, so that the server remained running, thereby "improving robustness by keeping the server running even when it encountered a
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar