Re: AU resources
Re: AU resources
- Subject: Re: AU resources
- From: Marc Poirier <email@hidden>
- Date: Wed, 12 Feb 2003 06:01:10 +0100 (CET)
Glenn, the issues that you're facing I think have more to do with moving
from CFM code format to Mach-o code format than moving from PB to CW or
VST to AU. With PB, you actually still can use resource fork based files
made with ResEdit, but during the copy files phase, PB will actually
flatten it to a data fork resource file (and merge it with other Resource
Manager data, some of which is required for AU components). You can also
use other resources like font files and image files and such. You just
put them into your project and PB will know what to do with them. It will
copy them into the plugin's package Resources folder. Loading those
resources are different then loading Resource Manager resources, though,
but the neat thing is that they're just plain old files plopped into your
plugin bundle. You can check out my source code to see examples of
loading fonts and image files from the bundle using the Carbon routines.
Marc
On Tue, 11 Feb 2003, Glenn Olander wrote:
>
I'm having trouble figuring out how to use resources in an AU,
>
and the SDK examples and Project Builder help don't shed much
>
light on this subject, so I'm hoping someone here can help me
>
out or point me to somewhere where the information is available.
>
>
In OS9, if my plugin needs a resource, a PICT for example, I
>
use resedit to assign that PICT an id and CW puts it in the
>
resource fork when I build.
>
>
How do I accomplish the same thing with Project Builder?
>
I see a resources folder in the bundle, but what needs to be
>
in there for my Carbon call which passes a resource id to
>
succeed? How do I instruct Project Builder to create that?
>
>
- Glenn
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
References: | |
| >AU resources (From: Glenn Olander <email@hidden>) |