Share Target C++ app does not close RRS feed

  • Question

  • I have created a C++ share target application but when it runs there is no way to close it. When I click on Share charm and choose my app, it appears but the top arrow  used to hide the app disappears. I have not added any additional code to the XAML page either. It seems like a issue only in C++ app, similar app that i created in C# works fine though. Can you please let me know what I am missing.

    These are steps i followed.

    1) Create a new Metro C++ app

    2) In AppPackage, I have added Share target with Uri format.

    3) Created a new XAML page for sharepage and added a text

    4) Added the below function in App

    void App::OnSharingTargetActivated(Windows::ApplicationModel::Activation::ShareTargetActivatedEventArgs^ args)
         Window::Current->Content = ref new BlankPage();

    Now when i share a Uri with IE and then click my app from the list of apps, I see this issue.



    Wednesday, January 25, 2012 5:30 PM

All replies