PDA

View Full Version : InvalidCastException when opening popup on New HM Window in 1.10.06



kz282
05-02-2010, 11:44 AM
I get this exception when I right click on the hands panel in a new HM Window. HM 1.10.06.


************** Exception Text **************
System.InvalidCastException: Unable to cast object of type 'HoldemManager.frmMainWindow' to type 'HoldemManager.frmMain3'.
at HoldemManager.ucAssociatedHands.a(Object A_0, EventArgs A_1)
at System.Windows.Forms.ToolStripDropDown.OnOpened(Ev entArgs e)
at System.Windows.Forms.ToolStripDropDown.SetVisibleC ore(Boolean visible)
at System.Windows.Forms.ContextMenuStrip.SetVisibleCo re(Boolean visible)
at System.Windows.Forms.ToolStripDropDown.Show(Contro l control, Point position)
at System.Windows.Forms.ContextMenuStrip.ShowInternal (Control source, Point location, Boolean isKeyboardActivated)
at System.Windows.Forms.Control.WmContextMenu(Message& m, Control sourceControl)
at System.Windows.Forms.Control.WmContextMenu(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at Softelvdm.Controls.SoftelvdmUserControl.WndProc(Me ssage& m)
at Softelvdm.SftTreeNET.SftTree.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

netsrak
05-03-2010, 05:12 AM
We are already aware of this problem. It will hopefully be fixed in the next releases.

mastae55
06-10-2013, 03:19 PM
We are already aware of this problem. It will hopefully be fixed in the next releases.

I get this message:

System.InvalidCastException: Das COM-Objekt des Typs "System.__ComObject" kann nicht in den Schnittstellentyp "IWebBrowser2" umgewandelt werden. Dieser Vorgang konnte nicht durchgeführt werden, da der QueryInterface-Aufruf an die COM-Komponente für die Schnittstelle mit der IID "{AD98D3C8-20D7-350A-AFF8-56FBECFF6A78}" aufgrund des folgenden Fehlers nicht durchgeführt werden konnte: Schnittstelle nicht unterstützt (Ausnahme von HRESULT: 0x80004002 (E_NOINTERFACE)).
bei System.Windows.Forms.WebBrowser.AttachInterfaces(O bject nativeActiveXObject)
bei System.Windows.Forms.WebBrowserBase.AttachInterfac esInternal()
bei System.Windows.Forms.WebBrowserBase.TransitionFrom PassiveToLoaded()
bei System.Windows.Forms.WebBrowserBase.TransitionUpTo (AXState state)
bei System.Windows.Forms.WebBrowserBase.OnParentChange d(EventArgs e)
bei System.Windows.Forms.Control.AssignParent(Control value)
bei System.Windows.Forms.Control.ControlCollection.Add (Control value)
bei LeakBuster2._5.UCStep1New.hOyG9SBlh()
bei LeakBuster2._5.UCStep1New..ctor()
bei LeakBuster2._.Mainf.rQUG0cnac()
bei LeakBuster2._.Mainf..ctor()

An if I close the window this appears:

System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei LeakBuster2._.Mainf.InitializeLeakBuster()

Please help :)

Holdem manager 2 works... but if I want to start LeakBuster No Limit then this appears

netsrak
06-11-2013, 04:44 AM
Which HM1 version? Please try this update: http://www.holdemmanager.com/Downloads/HmUpdate_Release_1.13.01_04Jun2013.exe