Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to pass callback from mach-o to CFM



At 11:42 Uhr +0900 28.08.2003, Kiyoto Takeuchi wrote:
I'm serching the way how to pass my callback function from Mach-o shlib to
CFM App.
I could found opposite method sample code.

http://developer.apple.com/samplecode/Sample_Code/Runtime_Architecture/CFM_M
achO_CFM.htm

(This page wrote below)
The main CFM application readies the callback
function by calling a routine MachOFunctionPointerForCFMFunctionPointer()
which generates power pc assembly glue to call the passed in function
pointer.

There's sample code to do that on my web site. Either I've put it up separately, or you can find it as part of my "C++ XFromApp" source code.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.
References: 
 >How to pass callback from mach-o to CFM (From: Kiyoto Takeuchi <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.