• 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
Re: Calling Cocoa in Carbon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling Cocoa in Carbon


  • Subject: Re: Calling Cocoa in Carbon
  • From: Clark Cox <email@hidden>
  • Date: Thu, 5 Feb 2009 06:48:31 -0800

On Thu, Feb 5, 2009 at 4:36 AM, kamlesh yadav <email@hidden> wrote:
> Hi All,
> I am trying to use HICocoaView  as illustrated in CrossEvent sample code but
> the moment i include cocoa.h in my carbon application I get the following
> error:
>
> error: syntax error before '@' token, which come in NSObjCRuntime.h
> (line 60 @class NSString)

This likely means that you're including Objective-C headers in a C or
C++ source file. Any file that includes headers with ObjC code in them
must itself be ObjC (or ObjC++).

> the same thing is running fine in CrossEvent project.
> I am using Xcode3.1
>
> What are the Xcode project  settings necessary to use Cocoa in Carbon.
> Thanks
>  _______________________________________________
> 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
>



--
Clark S. Cox III
email@hidden
 _______________________________________________
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

References: 
 >Calling Cocoa in Carbon (From: kamlesh yadav <email@hidden>)

  • Prev by Date: Re: Xcode 3.1.2: Svn 1.5 support?
  • Next by Date: Re: Help on Stack trace
  • Previous by thread: Calling Cocoa in Carbon
  • Next by thread: Help on Stack trace
  • Index(es):
    • Date
    • Thread