SEHException when running on XP

L

Lars Jonson

I'm developing a WindowsApp using VB.NET under .NET 1.1.
Development and target OS is W2K SP4. Everything is
running fine in W2K but when I try to run under XP some
strange things happens when closing the application
dialogs. A SEHException is thrown somewhere where I
cannot catch it, the only place to catch it is where the
call to Application.Run() is done.
During earlier stage of the development the app was
running fine in XP, I also has turned on the XP
VisualStyle. But now it doesn't work on XP! Why? Is there
anyone that have a clue?

Here is me exception trace:
System.Runtime.InteropServices.SEHException

Message = External component has thrown an exception.
Class = System.Windows.Forms.UnsafeNativeMethods
Method = DispatchMessageW

at
System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW
(MSG& msg)
at
System.Windows.Forms.ComponentManager.System.Windows.Forms
..UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop
(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at
System.Windows.Forms.ThreadContext.RunMessageLoopInner
(Int32 reason, ApplicationContext context)
at System.Windows.Forms.ThreadContext.RunMessageLoop
(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at MyApp.Application.Main..ctor() in
C:\MyApp\Application\Main.vb:line 37
 
D

Daniel Bello Urizarri

Hi Lars. I'm having exactly the same problem. Just want to say that if you
find something, please share it with us.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top