K
Kevin
Hi all
I'm running into a nasty, intermittent problem when I try to use
control.invoke from within my CF application. My question is this: I
understand that I can only invoke a delegate of type EventHandler from
control.Invoke: does this include a delegate of type
MouseEventHandler? I was under the impression that MEH inherited from
EH...
If this is legit, any other idea why I might be getting the exception
below? My application ran in production for almost two weeks before
this appeared, and now it's happening every time the code is used...
Thoughts?
Thanks.
-Kevin
ArgumentException at
System.Reflection.RuntimeMethodInfo.InternalInvoke() at
System.Reflection.RuntimeMethodInfo.InternalInvoke() at
System.Reflection.RuntimeMethodInfo.Invoke() at
System.Reflection.MethodBase.Invoke() at TASK.Invoke() at
System.Windows.Forms.Control._InvokeAll() at
System.Windows.Forms.Control.InvokeHelper() at
Presentation.ShipFormController.ShipFormRfidEventHandler_Undo() at
Business.RfidReader.Reader_ReadNotify() at
Symbol.RFID.Reader.OnReadNotify() at
Symbol.Marshaller.SymbolMessageWindow.WndProc() at
Microsoft.WindowsCE.Forms.MessageWindow._WndProc() at
Microsoft.AGL.Forms.EVL.EnterModalDialog() at
System.Windows.Forms.Form.ShowDialog() at...etc.
I'm running into a nasty, intermittent problem when I try to use
control.invoke from within my CF application. My question is this: I
understand that I can only invoke a delegate of type EventHandler from
control.Invoke: does this include a delegate of type
MouseEventHandler? I was under the impression that MEH inherited from
EH...
If this is legit, any other idea why I might be getting the exception
below? My application ran in production for almost two weeks before
this appeared, and now it's happening every time the code is used...
Thoughts?
Thanks.
-Kevin
ArgumentException at
System.Reflection.RuntimeMethodInfo.InternalInvoke() at
System.Reflection.RuntimeMethodInfo.InternalInvoke() at
System.Reflection.RuntimeMethodInfo.Invoke() at
System.Reflection.MethodBase.Invoke() at TASK.Invoke() at
System.Windows.Forms.Control._InvokeAll() at
System.Windows.Forms.Control.InvokeHelper() at
Presentation.ShipFormController.ShipFormRfidEventHandler_Undo() at
Business.RfidReader.Reader_ReadNotify() at
Symbol.RFID.Reader.OnReadNotify() at
Symbol.Marshaller.SymbolMessageWindow.WndProc() at
Microsoft.WindowsCE.Forms.MessageWindow._WndProc() at
Microsoft.AGL.Forms.EVL.EnterModalDialog() at
System.Windows.Forms.Form.ShowDialog() at...etc.