This is the “problem” I have with the data that I get from the library, which has some Async operations when sending and receiving data. While I am receiving data and receiving data in my mobile Windows Form or Desktop, I need to deal with cross-threading. I do this when validating InvokeRequired and perform the action if true ... etc. But I really would like it to disappear and correctly execute my data, so that I can attach them to manipulation, etc., Without addressing this cross-topic, the problem.
Question: how can I manipulate data in my library and then raise the event to the client? Where they could, no matter what they want, without processing end-to-end streams.
This should be true for the Compact Framework, so clients are mobile clients. And so the solution found using ISynchronizeInvoke is not valid.
Any help to make this a pleasantly appreciated! Thanks in advance.
asynchronous thread-safety compact-framework
George Taskos Dec 04 '09 at 13:06 2009-12-04 13:06
source share