HI all,
I've recently updated a component (an audio plug-in) to compile under
XCode on the new IntelMac machine. The resulting bundle looks just like the
version I have on my PPC Mac (as far as bundle structure and names are
concerned, at least). But when the plug-in runs, it fails to find its
resources.
The call Get1Resource('DLOG',1) returns a NULL handle. I'm not sure why
this would happen. I've got a .rsrc file in the Resources sub-folder, which
has the same name as the executable (with the ".rsrc" added, naturally),
just like on my PPC-Mac. So why wouldn't this version see the resources?
I _suppose_ that the host may be behaving differently, so that I need to
open the resource file myself? If that's the case, anyone know how I can
test that, and open my own app's resource file? I'm not familiar with the
steps a bundle app needs to take to open its own resource file from the
Resources folder. (Probably using FSOpenResFile, but how would I build the
FSRef? I can't hardcode a path, because the user could move the bundle
anywhere, theoretically.)
Thanks for any clues...
-Howard
>> Stay informed about: bundle's resources no longer found