[Mono-bugs] [Bug 76026][Nor] New - BeginInvoke sample fails to work.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Sep 9 08:44:59 EDT 2005

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by miguel at ximian.com.


--- shadow/76026	2005-09-09 08:44:59.000000000 -0400
+++ shadow/76026.tmp.5476	2005-09-09 08:44:59.000000000 -0400
@@ -0,0 +1,33 @@
+Bug#: 76026
+Product: Mono: Class Libraries
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: miguel at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: BeginInvoke sample fails to work.
+When I run:
+winforms/begininvoke/swf-begininvoke.exe I get this error:
+Unhandled Exception: System.InvalidOperationException: Cannot call Invoke
+or InvokeAsync on a control until the window handle is createdin <0x0011a>
+System.Windows.Forms.Control:BeginInvokeInternal (System.Delegate method,
+System.Object[] args)
+in <0x0000f> System.Windows.Forms.Control:BeginInvoke (System.Delegate method)
+in (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Control:BeginInvoke (System.Delegate)
+in <0x0005c> System.Windows.Forms.BeginInvokeDemo:UpdateLabel ()
+in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
+The clock never updates.

More information about the mono-bugs mailing list