Can I programmatically start a Windows app from the Mac?

Discussion in 'Windows Virtual Machine' started by dm33, Nov 6, 2009.

  1. dm33

    dm33 Bit poster

    Messages:
    1
    Hello,
    Is there an API or command available so within a Mac program I can make a Windows application the current active application?

    Parallels does something similar on its own where you can select a Windows application from a folder in Finder, or click on a document handled by a windows application. Is there something similar that I can do within a Mac program?

    Within my Mac application, I want to be able to bring up a windows app (Powerpoint) to open a particular document. But how?

    Thanks
     
  2. wonder_mice

    wonder_mice Hunter

    Messages:
    192
    Yes, you can. There are several ways to do it:
    1. Use our Virtualization SDK (prefered)
    2. If have Powerpoint proxy-application (Share Windows applications with Mac OS X feature must be enabled, application will be located in <VM_FOLDER>/Windows Applications/) you can just use LSLaunchFSRefSpec() function. Set appRef argument to fsref on Powerpoint proxy application, and itemRefs argument to document (presentation) you want to open.
    3. If you tell why 1 or 2 is not good for you, I will try to suggest you another solution.
     

Share This Page