XCode Resource Files
XCode Resource Files
- Subject: XCode Resource Files
- From: "Madhavi Kankanala" <email@hidden>
- Date: Wed, 3 May 2006 12:04:03 -0400
I am having problems linking to Resource Files with STRINGTABLES. It worked fine on CodeWarrior and when we imported to the Xcode, The following build error occurs in resource file when I run the project.
### Developer/Tools/Rez - Expected 'DATA', 'ENUM', 'INCLUDE' , 'READ', 'RESOURCE' or 'TYPE', but got identifier (STRINGTABLE).
The resource file looks like
#include "WP_Str.h"
STRINGTABLE DISCARDABLE
BEGIN
str_pDlgWindowTitle "Print Preview"
str_pDlgPrintChapter "Print This Chapter"
str_pDlgPrintPage "Print This Page"
str_pDlgPrintAllChaps "Print All Chapters"
How do we use these 'STRINGTABLE' in resource files in XCode? All other resource files are linking fine except those contain this STRINGTABLE identifier. Actually this code was written by other programmers and now we are importing those old projects to XCode. My question is "Is StringTable a keyword in resource files or whether it should be defined in another file?"
Also #defines in the Prefix files are not accessible in resource files. How do we access them in the resource files?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden