Re: adding an executable as a resource
Re: adding an executable as a resource
- Subject: Re: adding an executable as a resource
- From: Markus Hitter <email@hidden>
- Date: Fri, 9 Dec 2005 15:36:47 +0100
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:
This email sent to email@hidden