• 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
mixing Cocoa and Carbon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mixing Cocoa and Carbon


  • Subject: mixing Cocoa and Carbon
  • From: Nathan Lim <email@hidden>
  • Date: Thu, 21 Oct 2004 19:55:21 -0400

I'm a newbie to OS X programming and I've written a few routines for a Foundation Tool project in XCode.

The main() is in a .m file while most other routines are in .c files. I would like to use Cocoa because I want to use some classes to communicate with a separate Cocoa process and I want to use standard C because some of this code will be cross-platform.

The problem is that the program crashes (SIGABRT) when I call void *reportCreate() (which lives in report.c) from main() (which lives in clientMain.m).

Any ideas why and how to fix it?

-Nate Lim

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Prev by Date: Re: NSMutableArray & Pointers
  • Next by Date: Re: Cocoa & Excel
  • Previous by thread: Re: mainmenu in nib file
  • Next by thread: NSDocument updateChangeCount doesn't
  • Index(es):
    • Date
    • Thread