File Code Problems
Quote:Originally posted by jabber
I'll give it to you anway...Basic idea is this:
Viola! All your resource calls will then search Graphics.rsrc. I am not sure if all (or any!) of these calls are Carbonized...Code:
FSSpec theSpec;
short theRes;
FSMakeFSSpec(0, 0, "\p:Data:Graphics.rsrc", &theSpec);
theRes = FSpOpenResFile(&theSpec, fsRdWrPerm);
UseResFile(theRes);
thanks,
In addition I found some code (Technical Q&A FL14) at developer.apple.com that shows how to use the Process Manager to get the vRefNum and dirID of the application. I assume it would be better to plug these into FSpOpenResFile than using 0 for them?
| Messages In This Thread |
|
File Code Problems - Muffinking - Jun 6, 2002, 05:12 PM
File Code Problems - Tobi - Jun 9, 2002, 10:20 PM
File Code Problems - wadesworld - Jun 10, 2002, 11:56 PM
File Code Problems - WFleming - Jun 11, 2002, 01:42 AM
File Code Problems - OneSadCookie - Jun 11, 2002, 02:51 AM
File Code Problems - WFleming - Jun 11, 2002, 04:10 AM
File Code Problems - geezusfreeek - Jun 11, 2002, 08:14 AM
File Code Problems - WFleming - Jun 11, 2002, 03:58 PM
File Code Problems - geezusfreeek - Jun 11, 2002, 04:11 PM
File Code Problems - wadesworld - Jun 13, 2002, 10:06 PM
File Code Problems - Josh - Jun 14, 2002, 08:47 AM
File Code Problems - geezusfreeek - Jun 14, 2002, 11:18 AM
File Code Problems - WFleming - Jun 14, 2002, 04:14 PM
File Code Problems - Josh - Jun 14, 2002, 05:32 PM
File Code Problems - WFleming - Jun 17, 2002 05:13 PM
File Code Problems - Josh - Jun 17, 2002, 05:33 PM
File Code Problems - WFleming - Jun 17, 2002, 06:54 PM
|
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Recursively Packing Source Code Into One File? | daveh84 | 15 | 6,706 |
Feb 3, 2010 08:36 PM Last Post: AndyKorth |
|
| Carbon File Code | Muffinking | 5 | 4,397 |
Jun 3, 2002 12:23 AM Last Post: henryj |
|
Basic idea is this: 
