• 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: Carbon CFM callbacks for CFNetServices
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Carbon CFM callbacks for CFNetServices


  • Subject: Re: Carbon CFM callbacks for CFNetServices
  • From: "Dean Dauger" <email@hidden>
  • Date: Tue, 21 May 2002 07:10:47 -0700

> Check out the CFMMachOCFM example. I *believe* it can be found in the Carbon
> SDK.

Hi,

Thanks! That does work. The code isn't crashing now that I use the
MachOFunctionPointerForCFMFunctionPointer() routine, and I'm successfully
seeing registrations and deregistrations via the browse mechanism just fine.
You were correct that the code was present in the Sample Code of the
CarbonLib 1.5 SDK. Thanks for the tip!

I do have a concern about this mechanism though. It looks to me like that
code creates a UPP by manually constructing machine language (as opposed to
a standardized API call blessed by Apple). Is that safe to do? That is,
can I depend on this mechanism working in current and future versions of OS
X?

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

  • Follow-Ups:
    • Re: Carbon CFM callbacks for CFNetServices
      • From: Quinn <email@hidden>
  • Prev by Date: Re: URL Access performance tuning
  • Next by Date: Re: TCPIP Load only when needed
  • Previous by thread: Re: Carbon CFM callbacks for CFNetServices
  • Next by thread: Re: Carbon CFM callbacks for CFNetServices
  • Index(es):
    • Date
    • Thread