Hi All,
I have an MFC application which calls a C# dll and uses the C# application. Whn the MFC application is loaded I set the 'SetUNhandledEx ceptionFilter' to my own filter, so, that if in case of any exception in my MFC application it will call my filter. Every thing works fine till the C# application is called.
When the C# application is called it loads the mscoree.dll which resets my exception filter to default filter '_CccUnhandledE xceptionFilter' or some thing. Then after loading my C# application , If any exception was thrown in my MFC application my filter was not called.
Is there any way that we can set exception filter to our type in C# application? , so that alwaya our filter will be the registered one.
Thanks,
Sendil
I have an MFC application which calls a C# dll and uses the C# application. Whn the MFC application is loaded I set the 'SetUNhandledEx ceptionFilter' to my own filter, so, that if in case of any exception in my MFC application it will call my filter. Every thing works fine till the C# application is called.
When the C# application is called it loads the mscoree.dll which resets my exception filter to default filter '_CccUnhandledE xceptionFilter' or some thing. Then after loading my C# application , If any exception was thrown in my MFC application my filter was not called.
Is there any way that we can set exception filter to our type in C# application? , so that alwaya our filter will be the registered one.
Thanks,
Sendil