Re: adding an executable as a resource
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