• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
XCode Resource Files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: XCode Resource Files
      • From: Chris Espinosa <email@hidden>
    • Re: XCode Resource Files
      • From: David Dunham <email@hidden>
  • Prev by Date: Re: xcode?!? where do I get it?
  • Next by Date: Re: Jar in Xcode?
  • Previous by thread: Jar in Xcode?
  • Next by thread: Re: XCode Resource Files
  • Index(es):
    • Date
    • Thread