• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Finding and Launching CFM app in bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding and Launching CFM app in bundle


  • Subject: Re: Finding and Launching CFM app in bundle
  • From: Finlay Dobbie <email@hidden>
  • Date: Wed, 22 Aug 2001 22:09:40 +0100

On Wednesday, August 22, 2001, at 09:32 pm, Sanford Selznick wrote:

How do I (1) find and (2) launch the carbon app that is located inside my bundle from obj-c?

See NSBundle's pathForResource instance method.

I figured I could just do a system("open myapp"), but it doesn't work. I've looked through Launch Services, but it's more for documents, so far as I can tell. I've also looked through System.framework, but can't find what I need documented. I'm probably looking in the wrong place.

You could execute LaunchCFMApp directly. /System/Library/Frameworks/Carbon.framework/Versions/A/Support/LaunchCFMApp /path/to/cfm/file

Hope that helps,

-- Finlay


References: 
 >Finding and Launching CFM app in bundle (From: Sanford Selznick <email@hidden>)

  • Prev by Date: Re: Can I make an array of strings into one long string?
  • Next by Date: Docs
  • Previous by thread: Finding and Launching CFM app in bundle
  • Next by thread: Docs
  • Index(es):
    • Date
    • Thread