• 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: adding an executable as a resource
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: adding an executable as a resource


  • Subject: Re: adding an executable as a resource
  • From: Damien Bobillot <email@hidden>
  • Date: Fri, 9 Dec 2005 18:13:28 +0100

Markus Hitter wrote :

sprintf(command, "%s/Resources/lame %s", [[[NSBundle mainBundle] bundlePath] UTF8String], filename);
system(command);

It's even better to use fileSystemRepresentation instead of UTF8String.

--
Damien Bobillot

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >adding an executable as a resource (From: Ron Fleckner <email@hidden>)
 >Re: adding an executable as a resource (From: Markus Hitter <email@hidden>)

  • Prev by Date: Re: run-time list of selectors in protocol?
  • Next by Date: Re: threads vs run-loops for keeping your GUI responsive
  • Previous by thread: Re: adding an executable as a resource
  • Next by thread: Re: adding an executable as a resource
  • Index(es):
    • Date
    • Thread