I have an issue of exe crash in winfrom application,It is running fine in all other systems except any containing intel 11th generation processors.the application is crashing unexpectedly.
I had applied "Application.ThreadException" and "AppDomain.CurrentDomain.UnhandledException" too to catch any exception occurring in the whole application but still it haven't cached any exception.
so we had checked Event Viewer too and got the following error.
Application: application.exeFramework Version: v4.0.30319Description: The process was terminated due to an unhandled exception.Exception Info: System.AccessViolationException at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef) at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32) at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext) at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext) at System.Windows.Forms.Application.Run(System.Windows.Forms.Form) at application.Program.Main()
I checked Task Manager and there I found that my application is consuming lots of power. and for that I had removed any timers that I had used and any set of code which is executing again and again. But it is still crashing.
The main thing is that it is crashing only in intel 11th generation processor systems only.
Please help me if anyone have any suggestion or solution.
thank you in advanced.