• 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
calling cocoa method inside carbon function...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

calling cocoa method inside carbon function...


  • Subject: calling cocoa method inside carbon function...
  • From: Jacob Chapa <email@hidden>
  • Date: Sun, 11 Jan 2004 19:48:05 -0600

I have a self defined carbon function and I want to call a cocoa method from it.

I know I can make carbon calls from cocoa methods, i.e:

- (void) myCocoaMethod
{
CarbonCallhere():
}

but I cant do something like this:

void myCarbonMethod()
{
[cocoaObject myMethod];
}

is there a workaround to this?

The carbon method being called is a callback function and I am trying to use a cocoa speech object inside of it.

Thanks a lot
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: calling cocoa method inside carbon function...
      • From: James Chen <email@hidden>
    • Re: calling cocoa method inside carbon function...
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: is it possbile to setEnable: a tabViewItem
  • Next by Date: Bindings question
  • Previous by thread: Re: is it possbile to setEnable: a tabViewItem
  • Next by thread: Re: calling cocoa method inside carbon function...
  • Index(es):
    • Date
    • Thread