Search:
Namespaces
Discussions
.NET v1.1
Feedback
SEHexception
Messages
Related Types
This message was discovered on
microsoft.public.dotnet.faqs
.
Post a new message to this list...
Miro Durcik
Do You know how to locate problem when SEHexception object not found
(because of Windows Forms.dll) is raised in window message loop that
I cannot debug in VB ??
I click on combo..
something happens...
.... last END FUNCTION ends..
exception is raised ( no way to debug or trace which object cause it)
program continues on
System.Windows.Forms.
Application
.Run(frmMainWindow.DefInstance)
Please help
Arki
Reply to this message...
Miro Durcik
hmmm.. when I enable unmanaged debugging I discovered that
the stack is extremely big, the topmost is my error (that error is not the
first one, there was another one caused by
__FrameUnwindToState(EHRegistrationNode *, void *, const _s_FuncInfo *, int)
)
but between nothing useful.
Hmm.. it must be something with stack. I am adding many nodes to combo
box and tree view, maybe some actions are triggered, but te stack gets
an overflow. But why the problem occured only now ? I did not
remove/added/replaced anything special in project.
Miro
Reply to this message...
Miro Durcik
SOLVED IT!!
with help of another web site.
It was because some sort of bug when enabling XPVisualStyles.
is hould be solved by adding DoEvents, but did not help me.
Another option is said to be some lately XP patch, I must check it.
Arki
Reply to this message...
Miro Durcik
I just discovered that it has something to do with calling
DoEvents, but I need progress indication.
Reply to this message...
Vlado
I had the same problem in Windows application. Deleting
Application
.EnableVisualStyles() helped.
Dakujem
--------------------------------
From: Vlado
Reply to this message...
Neil Baliga
I just ran into this problem right now for the first time and this thread saved me HOURS of debugging thanks. FYI, I was calling
Application
.EnableVisualStyles() in the Load handler for my form instead of the main form's Main(). I did read an article a long time ago about NOT calling EnableVisualStyles from the load, but can't remember where. I do not run into the SEH problem even when using visual styles after moving it to Main();
Thanks
--------------------------------
From: Neil Baliga
Reply to this message...
System.Windows.Forms.Application
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com