Hello,
I have this:
WinForms -> Business Layer -> Proxy Layer
(host A)
Remote Data Layer
(host B)
If I make an asynchronous call in the Proxy Layer, how can I update the
Windows form in the call back?
They are in different layers. The proxy object might not exist when the
remote method returns.
How this should be done?
Leonardo
leodippolito@gmail.com - 16 Jun 2005 00:02 GMT
AlexS - 21 Jun 2005 23:34 GMT
You can pass event handler from GUI to proxy class.
You can invoke static event handler / delegate.
Just check if you are on UI thread or not.
When remote method returns some object must exist to accept result, right?
Pass your handler there.
HTH
Alex
> Hello,
>
[quoted text clipped - 17 lines]
>
> Leonardo