Re: Calling Cocoa in Carbon
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