24,854
社区成员
发帖
与我相关
我的任务
分享
class MyDelegate
{
static void MyCallback( IAsyncResult^ ar )
{
// Obtains return value from the delegate call using EndInvoke.
AsyncResult^ aResult = dynamic_cast<AsyncResult^>(ar);
MyDelegate^ temp = static_cast<MyDelegate^>(aResult->AsyncDelegate);
temp->YourActualFuncToCall();
}
}