Is there any sample code to call IAsyncActionWithProgress by C++? RRS feed


  • Something like below:

        auto comp = ref new WinRTComponent();
        auto action = comp->MethodAsync();
        action->Progress = ref new AsyncActionProgressHandler<String^> ([this] (IAsyncActionWithProgress<String^>^ act, String^ progress)
            // do something

    Raman Sharma | Program Manager, Visual C++ | @rasharm_msft

    (if my post has answered your question, please consider using the 'mark as answer' feature in the forums to help others)

    • Marked as answer by woody tk Thursday, October 4, 2012 4:00 AM
    Wednesday, October 3, 2012 5:39 PM