An exception is just that, an exceptional event. If some code is generating the exception condition often, then I would say it is no longer an exceptional event and you need to rethink your strategy. Example: check for null versus catching a NRE. This is regardless of interop.
>Nancy,
>
>I used the P/Invoke example as it not always obvious where the exception is being generated from ie. is the BCL function using interop? More times than not (especially in Winforms) it is.
>
>Regards
>Neil