SEHException?

  • Thread starter Thread starter pnp
  • Start date Start date
P

pnp

Hi all,

I'm developing an app in C# and i'm using the
Application.EnableVisualStyles function before I call the
Applicaton.Run(...) function. The problem is that when I use a custom form
with ShowDialog to open in my app I get a
System.Runtime.InteropServices.SEHException... When I don't use
EnableVisualStyles in my app that exception doesn't occur.

Can anyone help me on this?

Thanks in advance,
Peter
 
Back
Top