locked
A question about Windows Store App interaction with desktop app via url protocol

    Question

  • Hi,

    I have a huge business logic written against the traditional win32 api in form of an EXE. I'm considering using the url protocol to activate the EXE (desktop app) from my new Windows Store app. What I find is that, the system switches to the desktop as soon as I launch the EXE via launchUriAsync - is there a way to prevent it?

    Regards,

    Kashyap

    Thursday, May 09, 2013 4:49 AM

Answers

  • When you call LaunchUriAsync you are requesting that the URI open in the default handler for that URI type. There is no way to prevent the switch since that is exactly what the app is requesting.

    --Rob

    • Marked as answer by ckkashyap Friday, May 10, 2013 5:25 AM
    Thursday, May 09, 2013 5:03 AM
    Owner