G
Guest
I want to get the result of Async callback function. The code works fine in
normal windows application because "System.Runtime.Remoting.Messaging" is
there. What can i do to make it work on Windows Mobile 2003 CFW2.0?
----code part-----
private void callBackForReceive(IAsyncResult objIAsyncResult_)
{
AsyncResult objAsyncResult_ = (AsyncResult)objIAsyncResult_;
delegateForReceive objDelegateForReceiveResult_ =
(delegateForReceive)objAsyncResult_.AsyncDelegate;
String sResult_ =
objDelegateForReceiveResult_.EndInvoke(objIAsyncResult_);
......
}
"AsyncResult" is not working... i want to get the return value to "sResult_".
Thanks.
normal windows application because "System.Runtime.Remoting.Messaging" is
there. What can i do to make it work on Windows Mobile 2003 CFW2.0?
----code part-----
private void callBackForReceive(IAsyncResult objIAsyncResult_)
{
AsyncResult objAsyncResult_ = (AsyncResult)objIAsyncResult_;
delegateForReceive objDelegateForReceiveResult_ =
(delegateForReceive)objAsyncResult_.AsyncDelegate;
String sResult_ =
objDelegateForReceiveResult_.EndInvoke(objIAsyncResult_);
......
}
"AsyncResult" is not working... i want to get the return value to "sResult_".
Thanks.