We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

SEHException

We are using Syncfusion 3.3.0.0 controls in our project.



But we are urgently facing an issue. Our application is throwing

System.Runtime.InteropServices.SEHException.



This link gives us the idea about the bug: -

http://support.microsoft.com/kb/897298





In our solution, we found that we are not using visual styles (Application.EnableVisualStyles())



But it is possible that Syncfusion might in turn may be making use of such a command.

Are you aware of any such issue with your components?

Please let us know, urgently.


A fatal error happened in

[namespace].AppMain_ThreadException.



Exception type: System.Runtime.InteropServices.SEHException



Exception message:

External component has thrown an exception.



Exception stacktrace:

at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr

wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)

at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)

at System.Windows.Forms.Control.DefWndProc(Message& m)

at System.Windows.Forms.Control.WmUpdateUIState(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

at System.Windows.Forms.ContainerControl.WndProc(Message& m)

at System.Windows.Forms.ParkingWindow.WndProc(Message& m)

at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)




4 Replies

RB Raghavendra Bathal April 26, 2007 11:40 AM UTC

Well,

here is how Syncfusion is being used:-

public ComboBoxAce()
{
this.Style = Syncfusion.Windows.Forms.VisualStyle.OfficeXP;
}


thanks and regards,
Raghavendra


PJ Poly J Syncfusion Team May 2, 2007 02:02 PM UTC

Hi Raghavendra,

This issue has reported when using EnableVisualStyles().

The following thread in the Essential Tools forums discusses this issue:

http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=11420

Regards,
Poly


RS Rohit Singh December 14, 2007 04:37 PM UTC

Hi,
Were you able to get a work around for this?
Plz help us, we are facing similar errors in our application.

regards,
Rohit,
Ronit.Singh@MorganStanley.com



JJ Jisha Joy Syncfusion Team December 21, 2007 12:20 PM UTC

Hi Rohit,

Thank you for posting query to us.

Using EnableVisualStyles and DoEvents will result in SEHException. Also, it will cause the same problem even if you do not use Syncfusion controls. Could you please upload us a minimal sample to reproduce the issue here?. This will help us to analyze the issue further.

Please let me know if you need further assistance.
Regards,
Jisha


Loader.
Live Chat Icon For mobile
Up arrow icon