-
Mar 7th, 2008, 05:16 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] [1.0/1.1] System.Runtime.InteropServices.SEHException
My clients IT department suddenly and without warning upgraded all their machines to Windows XP from Windows 2000.
This has stopped the application we have written for them working after over a year of (relatively) trouble free use.
The error is occurring whenever a dialog window is closed. (stack trace below)
My development environment is also Windows XP and I have no problems.
Any ideas?
Code:
Description: External component has thrown an exception.
Type: System.Runtime.InteropServices.SEHException
Project: System.Windows.Forms
Object: UnsafeNativeMethods
Method: DispatchMessageW
Line: Args)
Trace: 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 Prometheus.Presentation.UI.PublicLoader.Main(String[] Args)
-
Mar 7th, 2008, 05:54 AM
#2
Thread Starter
Frenzied Member
Re: [1.0/1.1] System.Runtime.InteropServices.SEHException
Trying to use manifest file instead of enablevisualstyles, hopefully this will resolve it.
Last edited by Fishcake; Mar 7th, 2008 at 05:58 AM.
-
Mar 7th, 2008, 06:38 AM
#3
Thread Starter
Frenzied Member
Re: [1.0/1.1] System.Runtime.InteropServices.SEHException
-
Mar 7th, 2008, 06:38 AM
#4
Re: [RESOLVED] [1.0/1.1] System.Runtime.InteropServices.SEHException
This might be of some help. But apart from that i suppose you could try catching the error if you haven't already.
-
Mar 7th, 2008, 11:11 AM
#5
Thread Starter
Frenzied Member
Re: [RESOLVED] [1.0/1.1] System.Runtime.InteropServices.SEHException
Thanks, I did come across that page but I didn't like the idea of the timer hack. Using a manifest file is the cleanest and quickest method I came across.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|