SmartCode Web Forum

VNC Client Crashes after a period of time.

https://www.s-code.com/forum/Topic4815.aspx

By Devon - 20 Jan 2016

We are leaving the client connect the the server for extended periods of time.  We have seen it take 3 days or 3 hours for it to crash.  We have tested it with the latest version of the ActiveX control.  The server we are logging into is using Real VNC Server.  There error message is a generic error message.  Is there anything we can do to prevent it from crashing?

System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
 at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageA(MSG& msg)
 at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
 at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
 at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
 at System.Windows.Forms.Application.Run(Form mainForm)
By Yury Averkiev (s-code) - 23 Jan 2016

Hi Devon,
would it be possible for us to obtain a copy of your application so we could run it under a debugger? We would need a .pdb file for it as well.