• 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: Daniel Jalkut <email@hidden>
  • Date: Fri, 09 Dec 2005 11:45:41 -0500

I wonder if anybody has any "advice from the trenches" about possible snafus with regard to permissions going wrong on dependent executables, etc. I suppose it's just as unlikely as the permissions going wrong on your application's executable itself, but it's "one more thing" to potentially go wrong.

Any horror stories?

Daniel

On Dec 9, 2005, at 9:36 AM, Markus Hitter wrote:


Am 09.12.2005 um 14:08 schrieb Ron Fleckner:

I'm a bit worried because it was so easy to do.

Welcome to Cocoa/Obj-C.

There are only eleven lines of code inside the action method!

You could get away with 3 lines (roughly):

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

But you'd loose some useful nuggets.


Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/




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

This email sent to email@hidden

_______________________________________________
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
  • Follow-Ups:
    • Re: adding an executable as a resource
      • From: Markus Hitter <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: threads vs run-loops for keeping your GUI responsive
  • Next by Date: run-time list of selectors in protocol?
  • Previous by thread: Re: adding an executable as a resource
  • Next by thread: Re: adding an executable as a resource
  • Index(es):
    • Date
    • Thread