.NETGURU
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




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification