Results 1 to 5 of 5

Thread: [RESOLVED] [1.0/1.1] System.Runtime.InteropServices.SEHException

  1. #1

    Thread Starter
    Frenzied Member Fishcake's Avatar
    Join Date
    Feb 2001
    Location
    Derby, UK
    Posts
    1,092

    Resolved [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)

  2. #2

    Thread Starter
    Frenzied Member Fishcake's Avatar
    Join Date
    Feb 2001
    Location
    Derby, UK
    Posts
    1,092

    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.

  3. #3

    Thread Starter
    Frenzied Member Fishcake's Avatar
    Join Date
    Feb 2001
    Location
    Derby, UK
    Posts
    1,092

    Re: [1.0/1.1] System.Runtime.InteropServices.SEHException

    That did it.

  4. #4
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    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.

  5. #5

    Thread Starter
    Frenzied Member Fishcake's Avatar
    Join Date
    Feb 2001
    Location
    Derby, UK
    Posts
    1,092

    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
  •  



Click Here to Expand Forum to Full Width