C API: Enable/Disable "Share Windows applications with Mac"

Discussion in 'General Questions' started by Rickard von Essen, Aug 23, 2014.

  1. Rickard von Essen

    Rickard von Essen Bit poster

    Messages:
    9
  2. Hi, Rickard!
    I've found it out and unfortunately, there is no SDK functions to manage these options. I hope, it will be done in one of coming update releases of Parallels Desktop 10..

    So now these options can be switched only by GUI or by manually editing the "<path_to_vm>/config.xml" file (section "SharedApplications").
    The last way is not recommended because this configuration file is editing automatically and the XML model ​​can be different between Parallels Desktop releases.
     
    Last edited by a moderator: Aug 25, 2014
  3. Rickard von Essen

    Rickard von Essen Bit poster

    Messages:
    9
    Ok, good to know.

    It would be nice to be able to turn this off for Windows vagrant boxes.
     
  4. Modifying options "Share Windows applications with Mac" and "Share Mac applications with Windows" via "prlctl" has been implemented in Parallels Desktop 10.1.2:
    Code:
    prlctl set <vm_uuid> --sh-app-guest-to-host <on|off>
    prlctl set <vm_uuid> --sh-app-host-to-guest <on|off>
    Function names in C API: "PrlVmCfg_SetSharedAppsGuestToHost", "PrlVmCfg_SetSharedAppsHostToGuest" (File: PrlApiVm.h)

    P.s. You can update PD by clicking on the top menu "Parallels Desktop -> Check for Updates...", either download and install the latest build by this link: http://www.parallels.com/directdownload/pd10/
    New version of Parallels Virtualization SDK is available by this link: http://www.parallels.com/download/pvsdk/
     
  5. Rickard von Essen

    Rickard von Essen Bit poster

    Messages:
    9
    Great! I'll try it asap.
     

Share This Page