Carbon and Cocoa together....

Member
Posts: 45
Joined: 2002.04
Post: #1
I figured I would ask here rather than waste a lot of time writing code that would not ultimately work together..

Can I mix the Cocoa and Carbon API's in one project?

I have an older game editor completely written for my project... but I would like to use all the drawing code, etc... and just write a Cocoa shell for the interface interaction...

this possible? Or will screwy errors start appearing when I try and do this..

Hank-

/* Drunk...... fix later.... */
Quote this message in a reply
Member
Posts: 79
Joined: 2002.08
Post: #2
Yes you can. I'm using Cocoa for the GUI and C++/Carbon for the rest of the code.
There are some Apple samples you can look at if you want.

KenD

CodeBlender Software - http://www.codeblender.com
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Cocoa or Carbon? Leroy 5 3,375 May 17, 2007 06:54 PM
Last Post: SethWillits
  Newbie question: Cocoa and Carbon - which for what and how to get started? BliTz 3 2,878 Jul 27, 2006 10:07 PM
Last Post: OneSadCookie
  Carbon C/ Cocoa API Questions Stalin55 3 2,977 Jul 3, 2006 02:07 PM
Last Post: OneSadCookie
  Noob Cocoa and Carbon Questions MonitorFlickers 15 5,816 Feb 23, 2006 06:01 PM
Last Post: Tesselate
  Carbon or Cocoa for Games Nick 26 12,698 Mar 11, 2005 12:59 PM
Last Post: Duane