This project is read-only.

testing... error

Dec 28, 2011 at 4:14 PM

just a quick testing but when switching to UI, got the following error: 

Unforeseen Exception: Cross-thread operation not valid: Control '' Accessed from a thread other than the thread it was created on. 



at AsyncExecutor.<>c_DisplayClassb.<Execute>b__6(Object) 

Jan 3, 2012 at 10:45 AM


have you tried the sample application?

Please make sure that the AsyncExecutor is instantiated on the UI thread, because in it's constructor it remembers the current synchronization context. Which is the one that is later on used when you switch to the UI thread.