VC++ forms application centralized exception handling similar to C# forms application on .net platform -
I'm new to VC ++ and I have a great experience working with Net platform at C #. Currently I am in a project which is a combination of the Net platform on VC ++ and C #.
I used to add centralized exception handling to all Windows Farm applications that were developed using C #. What is the meaning of what I mean by the centralized exception is something like this
Now there is a problem in my new project. A legacy app that is in VC ++ has been made changes in the project so that it is compiled in Visual Studio 2008 But the code is still not unmanaged VC ++ I see many hold (try to catch) in the current code and the exceptions of the application are handled locally without knowing about the results. I can.
I wanted to know whether I can add central exception management to this inheritance in the applications of VC ++ forms like I am using C # form applications (CurrentDomain_UnhandledException, etc.). If so, where am I involved in dealing with this exception and how do I add it? A sample example would be of great help.
You can use
Alternatively, you can use the function; Which enables an application to move top-level exception handles of each thread of a process.
After calling this function, if there is a process that is not being debugged, and the exception creates it in the uncontrolled exception filter, the filter exception filter function should be used in the lpTopLevelExceptionFilter Parameter will specify.
Comments
Post a Comment